📜  css 设置背景不透明度 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:39.997000             🧑  作者: Mango

代码示例3
/*background color opacity with explainations */
rgba(51, 170, 51, .1)    /*  10% opaque green */ 
rgba(51, 170, 51, .4)    /*  40% opaque green */ 
rgba(51, 170, 51, .7)    /*  70% opaque green */ 
rgba(51, 170, 51,  1)    /* full opaque green */