🏠 New in Low Baseline Support: :modal
September 2, 2022
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
css.selectors.modal[mdn]