opacity

The CSS property that sets how see-through an element is, from 0 for invisible to 1 for fully solid.

In more detail

Like transform, opacity can be animated by the compositor alone, so fades are cheap. An element at opacity 0 still takes space and can still receive clicks.

Related terms

Taught in

References