I'm not sure if that is what you're looking for - but to stretch the other menu just add flex-fill
class to all nav-item
-s within it.
Check the result here: https://jsfiddle.net/n39xpawf/
OK then - seem like i didn't get your idea yesterday ;)
To reproduce the desired display as it is on your image just add the CSS below to absolutely position the brand-logo image for screen wider then 767px:
@media (min-width: 768px){
.navbar.navbar-expand-md .navbar-brand {
position: absolute;
z-index: 1;
top: 5px; /* whatever your logo size will be - adjust positioning here.. */
}
#quickMenu {
padding-left: 3rem; /* ...and left padding here leave enough space for brand-logo */
}
}
working draft here: https://jsfiddle.net/otzLwemp/
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…