[英]I want to move my Left nav bar menu <div> to Top when the screen size is 800px
当我将屏幕缩小到800px时,左侧导航栏将隐藏起来,它将显示在页面顶部的下拉菜单中
You should use a media query for this and set the width of the media query to 800px 您应该为此使用媒体查询,并将媒体查询的宽度设置为800px
for example 例如
@media screen and (min-width: 800px) {
#leftmenu {
#css to put menu at top
}
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.