text color opacity css code example
Example 1: css opacity
.div{
opacity: 0.8; /* 1 means fully visible, 0 means invisible */
}
Example 2: background color with opacity
h1 {background-color:rgba(255,0,0,0.3);}
.div{
opacity: 0.8; /* 1 means fully visible, 0 means invisible */
}
h1 {background-color:rgba(255,0,0,0.3);}