该菜单没有响应。它似乎超出了条件。
@media only screen and (min-width : 320px) and (max-width : 568px) {
.menu {
background: transparent url(menu.png) no-repeat;
display: inline-block;
visibility:visible;
}
.menu {
background: transparent url(menu.png) no-repeat;
display: none;
visibility:hidden;
}
答案 0 :(得分:1)
首先
.menu {
background: transparent url(menu.png) no-repeat;
display: none;
visibility:hidden;
}
然后
@media only screen and (min-width : 320px) and (max-width : 568px) {
.menu {
background: transparent url(menu.png) no-repeat;
display: inline-block;
visibility:visible;
} }