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