如何设置父层DIV不动子层DIIV透明且随滚动条晃动或是不晃动
首先你得有两个层:
<style type="text/css">
.div_1{
width:100px;
height:100px;
background-color:blue:
}
.div_2{ //如果想让您的子层跟随父层且透明,这样就可以了
position: absolute;
width: 1000px;
height: 130px;
z-inde...
原创
2018-08-16 13:51:20 ·
838 阅读 ·
0 评论