阅读背景:

如何在几个div上做透明背景来看父母的背景

来源:互联网 

I have the following CSS code:

我有以下CSS代码:

#wrapper{
    height:500px;
    background: url('https://i.imgur.com/f1uCUEJ.jpg');
}
#menu:before{
    width:500px;
    height:60px;
    background: rgba(255,255,255,0.6);
    content: "";
    position: fixed;
    top:0;
    left: 0;
    border-radius: 0 0 10px 0;
}
#menu{
    position: fixed;
    top:60px;
    left: 0;
    background: rgba(255,255,255,0.6);
    height: 300px;
    width: 60px;
    border-radius: 0 0 10px 0;
}
#circle{
    position: fixed;
    width:150px;
    height:150px;
    border-radius: 150px;
    background: #000;
    top: 10px;
    left: 10px;
}
#circle2{
    position: fixed;
    width:120px;
    height:120px;
    border-radius: 120px;
    background: #fff;
    top: 25px;
    left: 25px;
}
#circle3{
    position: fixed;
    width:90px;
    height:90px;
    border-radius: 90px;
    background: #000;
    top: 40px;
    left: 40px;
}

#circle4{
    position: fixed;
    top: 54px;
    left: 54px;
}
.btn{
    border: none;
    display: block;
    margin: 1px;
    background: #fff;
    width:60px;
    height: 30px;    
    font-weight: 700;
    font-size: 17px;
}
#plus{
    border-radius: 30px 30px 0 0;
}
#minus{
    border-radius: 0 0 30px 30px;
}
#



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: