Create responsive tables by wrapping any .table
in .table-responsive
to make them scroll horizontally on small devices (under 768px). When viewing on anything larger than 768px wide, you will not see any difference in these tables.
# | First Name | Last Name | Office | Salary | |
---|---|---|---|---|---|
1 | Mark | Otto | mo@goo.com | London | $45,000 |
2 | Jacob | Thornton | thor009@goo.com | Tokyo | $25,300 |
3 | Anna | Bird | bird21@goo.com | Edinburgh | $15,200 |
4 | John | Doe | doedawg@goo.com | Warsaw | $12,950 |
5 | Veronica | Moon | moon87@goo.com | New York | $6,950 |
Add .table-bordered
for borders on all sides of the table and cells.
# | First Name | Last Name | Office | Salary | |
---|---|---|---|---|---|
1 | Mark | Otto | mo@goo.com | London | $45,000 |
2 | Jacob | Thornton | thor009@goo.com | Tokyo | $25,300 |
3 | Anna | Bird | bird21@goo.com | Edinburgh | $15,200 |
4 | John | Doe | doedawg@goo.com | Warsaw | $12,950 |
5 | Veronica | Moon | moon87@goo.com | New York | $6,950 |