CSS · Properties — CSS Positioned Layout

overlay

The CSS overlay property. Initial value: none. Not inherited.

Syntax
overlay: none | auto

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course