0
点赞
收藏
分享

微信扫一扫

CSS设置让导航栏在顶部不移动

三维控件研究 2022-05-03 阅读 44
csscss3html

下面只提供部分CSS代码 

#menuList{
	height: 50px;
	width: 100%;
	border-top: 3px solid red;
	background: #fff;
	position: fixed;
	top: 0;
	z-index: 9999; /*非常重要*/
}
举报

相关推荐

0 条评论