How can I create responsive tabs which get stacked automatically using bootstrap. The code for my navs is -
If you are using SCSS or LESS support, you should use the proper media query vars:
In SCSS:
@media (max-width: $screen-md-min) {
.nav-tabs > li {
float:none;
}
}
In Less:
@media (max-width: @screen-md-min) {
.nav-tabs > li {
float:none;
}
}
Check http://getbootstrap.com/css/ for details regarding the possible vars.