how to set opacity of element in css code example
Example 1: css opacity
.div{
opacity: 0.8; /* 1 means fully visible, 0 means invisible */
}
Example 2: define element opacity css
div {
opacity: 0.5;
}
.div{
opacity: 0.8; /* 1 means fully visible, 0 means invisible */
}
div {
opacity: 0.5;
}