make image background transparent in html code example
Example 1: transparent background css for image
background-color: rgba(255, 0, 0, 0.5);
Example 2: reduce opacity of background image css
.img1 {
opacity: 0.6;
z-index=1;
}
background-color: rgba(255, 0, 0, 0.5);
.img1 {
opacity: 0.6;
z-index=1;
}