::backdrop
Styles the area behind a full-screen element or dialog. It allows you to dim the background or add effects like blur when a modal is active.
Syntax
/* Usage Example */
dialog::backdrop {
background-color: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
}
::backdrop Browser support
Widely available
Since
2022 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2022.
37+
47+
15.4+
79+