CSS opacity property

CSS opacity

CSS opacity is used to specify the opacity or the transparent level of an element.

This property will be applied to the whole element, even if it has a child element.

1 is the default value.

Example 1

Try Yourself

Example 2

Try Yourself