当想要元素铺满整个屏幕的时候,采用绝对定位或者固定定位
.el-menu {
position: fixed;
height: 100%;
border: none;
h3 {
color: #fff;
text-align: center;
line-height: 48px;
}
}
当想要元素铺满整个屏幕的时候,采用绝对定位或者固定定位
.el-menu {
position: fixed;
height: 100%;
border: none;
h3 {
color: #fff;
text-align: center;
line-height: 48px;
}
}