🏠 New in High Baseline Support: :modal

March 2, 2025

caniuse · mdn · spec

The :modal pseudo-class selects elements that put other elements into a non-interactive state, such as a fullscreen element or a <dialog> element used with showModal().

Source features