Enroll Free
0
search icon
CAT

Test Tab Panel

26 March, 2024
Pintu Das

Bootstrap tab panel example (using nav-pills)

Content’s background color is the same for the tab

We use the class nav-pills instead of nav-tabs which automatically creates a background color for the tab

We applied clearfix to the tab-content to rid of the gap between the tab and the content

We use css to change the background color of the content to be equal to the tab