Condensed Table
Add .table-sm
to make tables more compact by cutting cell padding in half.
Operation System | Users | Share |
---|---|---|
Windows | 8.232 | 40% |
Mac OS | 3.322 | 20% |
Linux | 4.232 | 34% |
FreeBSD | 1.121 | 12% |
Chrome OS | 1.331 | 15% |
Android | 2.301 | 20% |
iOS | 1.162 | 14% |
Windows Phone | 562 | 7% |
Other | 1.181 | 14% |
Hoverable Rows
Add .table-hover
to enable a hover state on table rows within a <tbody>
.
Name | Date of Birth |
---|---|
Ashley Briggs | Jun 21, 1961 |
Carl Jenkins | May 15, 1948 |
Bertha Martin | Sep 14, 1965 |
Stacie Hall | Apr 2, 1971 |
Always responsive
Across every breakpoint, use .table-responsive
for horizontally scrolling tables.
# | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
---|---|---|---|---|---|---|---|---|---|
1 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
2 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |
3 | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell | Cell |