CSS Conditional Rules

CSS Conditional Rules is a CSS module that allows to define a set of rules that will only apply based on the capabilities of the processor or the document the style sheet is being applied to.

Reference

At-rules

Specifications

Specification
CSS Conditional Rules Module Level 3

Browser compatibility

@document rule

BCD tables only load in the browser

@import rule

BCD tables only load in the browser

@media rule

BCD tables only load in the browser

@supports rule

BCD tables only load in the browser