Example 3

Same as example 1 but we have now styled the tab's corner

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

This is tab 1

This is tab 2

This is tab 3