Tailwind CSS Border Collapse Read Discuss Courses Practice Improve Improve Improve Like Article Like Save Article Save Report issue Report This class accepts lots of value in tailwind CSS 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: HTML <!DOCTYPE html> <html> <head> <link href= "https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> </head> <body class="text-center mx-4 space-y-2"> <h1 class="text-green-600 text-5xl font-bold"> GeeksforGeeks </h1> <b>Tailwind CSS Border Collapse Class</b> <div class="grid grid-flow-col text-center p-2"> <table class="border-Collapse border border-green-900"> <thead> <tr> <th class="border border-green-600">Frameworks</th> <th class="border border-green-600">Release Year</th> </tr> </thead> <tbody> <tr> <td class="border border-green-600">Tailwind CSS</td> <td class="border border-green-600">2019</td> </tr> <tr> <td class="border border-green-600">Bulma</td> <td class="border border-green-600">2016</td> </tr> <tr> <td class="border border-green-600">Bootstrap</td> <td class="border border-green-600">2011</td> </tr> </tbody> </table> </div> </body> </html> Output: Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now! Last Updated : 23 Mar, 2022 Like Article Save Article Previous Tailwind CSS Backdrop Sepia Next Tailwind CSS Table Layout Please Login to comment...