Super réponse de @Oleg,
Pour les gens comme moi qui veulent reproduire le comportement réactif du .subnav
Voici le code css (sans couleurs, bordures et effets)
body { padding-top: 90px; }
@media (max-width: 980px) {
body {
padding-top: 0;
}
}
.subnav {
width: 100%;
}
@media (max-width: 768px) {
.subnav {
position: static;
top: auto;
z-index: auto;
width: auto;
height: auto;
}
.subnav .nav > li {
float: none;
}
}
@media (min-width: 980px) {
.subnav-fixed {
position: fixed;
top: 40px;
left: 0;
right: 0;
z-index: 1020;
}
.subnav-fixed .nav {
width: 938px;
margin: 0 auto;
}
}
@media (min-width: 1210px) {
.subnav-fixed .nav {
width: 1168px;
}
}
Si vous voulez cloner le style du menu (y compris les couleurs, les bordures et les effets)
http://jsfiddle.net/baptme/ydY6W/