How to change the style, if the menu switch to vertical?!?! Responsive Menu
<ul class="vertical medium-horizontal menu">
<li><a href="#">Item 1</a></li>
<li><a href="#">Item 2</a></li>
<li><a href="#">Item 3</a></li>
</ul>
I tried for example:
.vertical li{background-color: #000000;}
Put the change in the corresponding @media query.
/ From the site you linked /
@media screen and (min-width: 40em) {
li {background-color: #000000;}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.