imag opacity html code example
Example 1: css how to make background transparent
background-color: rgba(255, 255, 0, 0.75);
Example 2: css opacity example
.opacity30 {
opacity: 0.3;
filter: alpha(opacity=30);
}
Example 3: background image opacity css
div {
background-color : rgba(120, 120, 120, 0.5)
}
div {
background-color : blue
opacity : 50%
}
Example 4: set opacity of background image
The following example sets the opacity for the background color and not the text: 100% opacity. 60% opacity. 30% opacity. 10% opacity. You learned from our ...