| Class | Description | |
|---|---|---|
scheme-normalSets color-scheme to normal, letting the browser choose the rendering scheme. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .scheme-normal | Sets color-scheme to normal, letting the browser choose the rendering scheme. |
scheme-darkSets color-scheme to dark, hinting the browser to render UI controls with a dark theme. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .scheme-dark | Sets color-scheme to dark, hinting the browser to render UI controls with a dark theme. |
scheme-lightSets color-scheme to light, hinting the browser to render UI controls with a light theme. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .scheme-light | Sets color-scheme to light, hinting the browser to render UI controls with a light theme. |
scheme-light-darkSets color-scheme to light dark, allowing the browser to pick either scheme. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .scheme-light-dark | Sets color-scheme to light dark, allowing the browser to pick either scheme. |
scheme-only-darkSets color-scheme to only dark, forcing the dark rendering scheme. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .scheme-only-dark | Sets color-scheme to only dark, forcing the dark rendering scheme. |
scheme-only-lightSets color-scheme to only light, forcing the light rendering scheme. CSS Rules Usage Responsive
Prefix
States
States are generated dynamically at runtime and always
come last. Append a state like
Supported pseudo-classes: Group Hover Example
The Pseudo-Elements
The | .scheme-only-light | Sets color-scheme to only light, forcing the light rendering scheme. |