//不显示
.bar {
position:fixed;
bottom:0;
z-index:99;
}
//显示
.bar{
position:fixed;
bottom:calc(90vh); /*当前屏幕高度百分比90%*/
z-index:99;
}
移动端,fixed bottom问题
最新推荐文章于 2021-04-20 07:46:53 发布
//不显示
.bar {
position:fixed;
bottom:0;
z-index:99;
}
//显示
.bar{
position:fixed;
bottom:calc(90vh); /*当前屏幕高度百分比90%*/
z-index:99;
}