set transparent background image css code example
Example 1: transparent background css for image
background-color: rgba(255, 0, 0, 0.5);
Example 2: image opacity in html
img {
opacity: 0.5;
}
background-color: rgba(255, 0, 0, 0.5);
img {
opacity: 0.5;
}