VOOZH about

URL: https://www.geeksforgeeks.org/html/tailwind-css-border-collapse/

⇱ Tailwind CSS Border Collapse - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Tailwind CSS Border Collapse

Last Updated : 23 Jul, 2025

This class accepts lots of value in in which all the properties are covered in class form. This class is used to set the borders of the cell present inside the table and tells whether these cells will share a common border or not. In CSS, we can do that by using CSS border-collapse property.

Syntax:

<element class="border-collapse">...</element>

Example:

Output:

👁 Image
Comment
Article Tags:
Article Tags: