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