property

Interactivity — CSS reference

Requests inert interaction behavior for a subtree; use HTML inert as a fallback where appropriate. This emerging declaration is feature-detected; unsupported engines retain the default or HTML fallback.

Formal Syntax & Structure

css syntaxcss
interactivity: inert;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>interactivity</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}@supports (interactivity:inert){#a{interactivity:inert}}</style><body><div id="a" inert><button>Unavailable</button></div></body></html>
CSS Reference