Join TalkersCode Now !

Get Latest Tutorials And Links On Web Development
And Get Existing Offers Via Email

CSS Opacity

CSS Opacity

CSS Opacity property is used to make elements opaque, transparent, translucent by giving the value between 0.0 to 1.0.A lower value makes the element more transparent.The CSS opacity property is a part of the CSS3.


E9, Firefox, Chrome, Opera, and Safari use the property opacity for transparency.IE8 and earlier use filter:alpha(opacity=x). The x can take a value from 0 - 100. A lower value makes the element more transparent.


Example of Opacity

div
{
opacity:0.5
filter: alpha(opacity=50); /* For IE8 and earlier */
}

You can also make elements transparent,translucent,opaque by setting the RGB value with opacity.


PrevNext

Join Us With Our 21000+ Subscribers And Get Our Latest Tutorials Update Via Email

Are You Starting A New Blog
Do You Want Best Web Hosting?

Try World's Best Web Hosting Provider BlueHost
At Just $3.95/mo

Hurry Up! Limited Time Offer

Yes, I Want To Check Out BlueHost

Check The World's Best SEO And All-In-One Marketing Toolkit
For Digital Marketing Professionals SEMRUSH

Check Out SEMRUSH