From the course: Bootstrap 4 Migration

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

Learning about table changes

Learning about table changes - Bootstrap Tutorial

From the course: Bootstrap 4 Migration

Learning about table changes

- [Man] Tables are one of my favorite features in bootstrap, because it makes something that is fairly complex to code super easy. Now there's just a few changes and things to watch out for when you migrate your tables to this new version. So let's take a look. First of all, there is a couple of new classes available if you want to make your tables have a dark background and white text, you can use the table-inverse class as well as the thead-inverse class. There's also a new way of doing responsive tables that is a lot easier. In the old version of bootstrap, you have to wrap a div with a class of responsive, now you can just put a table responsive class on the table itself. Now there's also some things that you have to watch out when you're using colors, you have to add a table prefix to the different color classes. So before, you could add to either the rows or individual cells a class of active, success, info, warning, or danger. Now you have to call those table-active…

Contents