HTML Dog
Skip to navigation

CSS Property: opacity

Transparency.

Opacity set to 1, 0.5, and 0.2.

Possible Values

ValueNoteExample
[number]Should be between 0 (fully transparent) and 1 (fully opaque). Default is 1.0.3
inherit
initial
unset

Example


.champion { opacity: 0.8; }