Skip to content

Instantly share code, notes, and snippets.

@markotom
Last active January 2, 2016 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save markotom/8338273 to your computer and use it in GitHub Desktop.
Save markotom/8338273 to your computer and use it in GitHub Desktop.
"nav-tabs" stackable in Bootstrap 3 with the "old" look (Bootstrap 2)
.nav-tabs {
&.nav-stacked {
border-bottom: 0;
> li {
float: none;
> a {
margin-right: 0;
border: 1px solid @nav-tabs-border-color;
border-radius: 0;
&:hover, &:focus {
border-color: @nav-tabs-border-color;
z-index: 2;
}
}
&:first-child > a {
.border-top-radius(@border-radius-base);
}
&:last-child > a {
.border-bottom-radius(@border-radius-base);
}
}
> li + li {
margin-top: 0;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment