Opacity level for an element.

      opacity: value | inherit ;

value - From 0.0 (transparent) to 1.0 (opaque)
inherit - inherit from the parent element.

The default value is 1.0

Opacity sets the opacity for an element and all of its children, an alternative which sets the opacity value only for a single element is an RGBA color value.

h1 { opacity: 0.5; }
.ss64class { opacity: 0.25; }

#SS64id { opacity: 0.8; }

Try it:

This is some sample text.
Using CSS to change the opacity will affect the text and any background images.

(CSS 3) Browser Support: All major browsers, For IE 8 and older (or IE 9 in quirks mode) use filter: alpha(opacity=50);

“I felt that it's best just to be as transparent as possible” ~ Rupert Murdoch


font-weight - Normal, bold, bolder
visibility - Hide or show an element.
CSS 3 generator for rounded corners, opacity and box-shadow

© Copyright SS64.com 1999-2014
Some rights reserved