css特定区域不随滚动条滚动
.area1{
top: 0;
width: 100%;
position: fixed;
_position: absolute;
z-index: 999;
background-color: white;
}
.area2{
width: 100%;
position: relative;
top: 85px;
}area1固定,area2可滚动,且滚动至area1区域时内容被覆盖(将背景颜色去掉可共存);
相关推荐
yaodilu 2020-08-03
lanzhusiyu 2020-07-18
lcqin 2020-08-11
小仙儿 2020-06-25
xiaohuli 2020-06-11
CaiKanXP 2020-06-09
songfens 2020-06-08
CSSEIKOCS 2020-05-19
aSuncat 2020-05-10
Phoebe的学习天地 2020-05-09
nicepainkiller 2020-05-05
amwayy 2020-05-01
AlisaClass 2020-04-14
coulder 2020-04-08
wangjie 2020-02-26
xiaohuli 2020-02-23
福叔 2020-02-16