From the course: Bootstrap 4 Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Table styles - Bootstrap Tutorial
From the course: Bootstrap 4 Essential Training
Table styles
- [Instructor] One of the best features in Bootstrap is, how you control the look The look and feel of tables. Now there is a couple of main classes that you can use to do this and the table class is something that goes on the table tag itself. When you do that Bootstrap will immediately take over and give you a nicely rendered and great-looking table. Now there is an option that you can add as a separate class called table dark if you want essentially what's an inverse table, which has a black background and light text. In addition to that there are a number of style classes that you can add to modify the look of the table and one that is pretty useful is called table-striped. This one will create a slightly different color background for every other row in a table. That's useful because on very wide tables it's going to make it easier for you to keep your space as you look horizontally on the table. There's also another style called table-border, that will put a border around the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.