【发布时间】:2020-03-20 09:27:49
【问题描述】:
我能问一下为什么我的 div 底部为:0;正在跳到底部:-5;在安卓设备上。见下图:
横幅问题:
.alert {
padding: 20px;
background-color:#0c4105;
color: white;
position: fixed;
bottom: 0;
left: 0;
width:100%;
}
@media only screen and (max-width: 800px) {
.alert {
width:100%;
bottom: 0.11111px;
}
}
.conbtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
.conbtn:hover {
color: black;
}
【问题讨论】:
标签: android html css mobile banner