set color and opacity css code example
Example 1: background color semi transparent
.transparent {
background-color: rgba(255, 255, 255, 0.5);
}
.transparent {
opacity: 0.5;
}
Example 2: css opacity
.div{
opacity: 0.8; /* 1 means fully visible, 0 means invisible */
}