Looking for a Theme ?

A set of Free Wp-Themes for all your type of needs.See the Live Demos Now!

CSS3 Introduced a new standard which allow designer to give opacity to any kind of element of your website structure.
Using a few lines of code is possible to see opacity natively for Chrome, Safari Firefox and Opera.With the support of hacks are also supported IE, from 5 to 8.

Let’s start from the basic code.Assume to have an img inside a div named “container”.

Opacity for : Chrome, Safari Firefox and Opera

#container img{ opacity:0.25;}

Opacity for IE5-IE7

#container img{
filter: alpha(opacity = 25) /*for Browsers IE5-7 */
}

Opacity for IE8

#container img{
-ms-filter: "progid:DXImageTransform.Microsof.Alpha(Opacity=25)"; /* For Browser IE8 */
}

The final Code

#container img{
#container img{ opacity:0.25;} /*for Browsers Chrome, Safari Firefox and Opera */
filter: alpha(opacity = 25) /*for Browsers IE5-7 */
-ms-filter: "progid:DXImageTransform.Microsof.Alpha(Opacity=25)"; /* For Browser IE8 */
}
Posted By Lorenzo Lagana'

23 Years Old.Italy. Wordpress // CSS // HTML // Jquery Actually is studying Architecture.He is Working as Web Developer.He Design Wordpress theme for the blogging community.Autotwitt is his future

Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>