Created
October 24, 2015 22:15
-
-
Save Marian0/556ddfdb6ddeb472cb07 to your computer and use it in GitHub Desktop.
Customize with to Collapse Bootstrap 3 navbar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (max-width: 1000px) { | |
.navbar-header { | |
float: none; | |
} | |
.navbar-toggle { | |
display: block; | |
} | |
.navbar-collapse { | |
border-top: 1px solid transparent; | |
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1); | |
} | |
.navbar-collapse.collapse { | |
display: none!important; | |
} | |
.navbar-nav { | |
float: none!important; | |
margin: 7.5px -15px; | |
} | |
.navbar-nav>li { | |
float: none; | |
} | |
.navbar-nav>li>a { | |
padding-top: 10px; | |
padding-bottom: 10px; | |
} | |
.navbar-text { | |
float: none; | |
margin: 15px 0; | |
} | |
/* since 3.1.0 */ | |
.navbar-collapse.collapse.in { | |
display: block!important; | |
} | |
.collapsing { | |
overflow: hidden!important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment