HTML and CSS Reference
In-Depth Information
Note
• In WebKit-based browsers this property is -webkit-mask-size .
opacity
This property specifies the transparency of an element.
Syntax
opacity: alphavalue | inherit
where alphavalue is a number ranging from 0.0, fully transparent, to 1.0, fully opaque.
Examples
#tng {opacity: 0.8; background-color: blue;}
#invisible {opacity: 0;}
#blam {opacity: 1;}
#ie2 {opacity: 0.7; filter: alpha(opacity=70); zoom: 1;}
Compatibility
CSS3
Chrome 1+, Firefox 1+, IE 4+ (using filter property), Opera 9+, Safari 1.2+
Note
• When using the filter property for Internet Explorer, make sure that the opaque
object that you will apply the effect to has layout, which is usually accomplished by
setting its size or position.
outline-offset
This property defines the offset from an element's border and its outline.
Syntax
outline-offset: length | inherit
where length is any valid CSS length value used to move the outline away from the
element's border. Negative values are supported and will put the outline within the
element's border.
 
Search WWH ::




Custom Search