X
Publisher: Sigit purnomo kangsigit.com@gmail.com

How to Change a CSS Background Image's Opacity

Opacity

Creating transparent background images with CSS is easy. Please follow the instructions below

Prepare CSS

#tesOpacity {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
}

HTML images

<img id="tesOpacity" src="URL-Images"/>

Advertisement


Examples:
klematis
How to Change a CSS Background Image's Opacity
Add Comments
0 Comments
Click Here to Add Comments

No Comment