Bootstrap table-condensed class

Using the .table-condensed class, row padding is cut in half to condense the table. as seen in the following example. This is useful if you want any denser information.

You can try to run the following code to implement table-condensed class in Bootstrap −


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Table</title>
      <meta name = "viewport" content = "width = device-width, initial-scale = 1">
      <link rel = "stylesheet" href = "">
      <script src = ""></script>
      <script src = ""></script>
      <table class = "table table-condensed table-hover table-bordered table-striped">
         <caption>Footballer Rank</caption>

Updated on: 12-Jun-2020


Kickstart Your Career

Get certified by completing the course

Get Started