html - Bootstrap - submenu as a untouchable and stable belt -
when click in other place site, dropdown disappear. should still visible, , should change when click on other tab menu
i think need change css:
.nav { margin-bottom: 0; } .nav > li.dropdown.open { position: static; } .nav > li.dropdown.open .dropdown-menu { display:table; width: 100%; text-align: center; left:0; right:0; } .dropdown-menu>li { display: table-cell; }
is affects wanted?
note, have apply rules after bootstrap.css have been loaded in page.
Comments
Post a Comment