CSS HTML Validator - The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "opacity" CSS property

The "opacity" CSS Property

Additional links:

New in CSS3

This property sets the opacity of an element as a whole, including its contents, rather than applying it to each descendant individually.

Values for "opacity"
CSS LevelValue
CSS 2.1(invalid)
CSS3a number between 0.0 and 1.0


  • 0 is fully transparent and 1 is fully opaque (solid). Any values outside the range 0.0 (fully transparent) to 1.0 (fully opaque) will be clamped to this range.

Recommended Links

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem