转自:https://blog.youkuaiyun.com/happydecai/article/details/81216419
html background-color设置为透明的方法如下:
1,比较好的方法:
background-color:transparent;
2,不太好的方法(模仿透明,不仔细看,看不出来)
前三个参数是颜色,后一个是透明度,效果为白色背景透明。
background-color: rgba(255,255,255,0.2);
转自:https://blog.youkuaiyun.com/happydecai/article/details/81216419
background-color:transparent;
前三个参数是颜色,后一个是透明度,效果为白色背景透明。
background-color: rgba(255,255,255,0.2);