我正在我的网站上使用3个媒体查询:
@media only screen and (max-width: 959px)
@media only screen and (max-width: 767px)
@media only screen and (max-width: 479px)
当你在浏览器窗口中拖动时,一切都会重新调整大小,但是当你再次拖动它时,导航不会返回到它应该返回的位置-其他一切都会恢复正常。
网站here。
有没有什么我遗漏的东西让导航系统回到它的起始位置?
最佳答案
尝试将最小和最大选择器设置为
@media only screen and (min-height : 0px) and (max-height: 600px) {
/* bla bla bla */
}
关于html - CSS媒体查询未重置,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/15525664/