Skip to content

Instantly share code, notes, and snippets.

@sibaberpollo
Last active April 2, 2019 16:00
Show Gist options
  • Save sibaberpollo/20a553f0fd3099f64b7b to your computer and use it in GitHub Desktop.
Save sibaberpollo/20a553f0fd3099f64b7b to your computer and use it in GitHub Desktop.
Bootstrap 3 - Cambiar el punto de quiebre del menu a 1200 píxeles
/* Colapsar menu antes del quiebre de Bootstrap */
@media (max-width: 1200px) {
.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