interactivity
Limited availability73% of usersExperimental
An experimental property that can make an entire section of a page 'inert' (unclickable and ignored by assistive technology), similar to the 'inert' HTML attribute but via CSS.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyComingNot in Firefox or Safari yet, so not every major browser supports it.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
auto- Inherited
- Yes
- Applies to
- all elements
- Animation type
- discrete
Quick example
.modal-backdrop {
/* Makes everything behind the modal non-interactive */
interactivity: inert;
}Values
autoinertinteractivity browser support
BaselineLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Not ready for production without a fallback.
Usage73%of people can use this27% use a browser without it.
Browsers
135+
135+Mobile
135+Android