Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias MediaFeatureId
import { type MediaFeatureId } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

A media query feature identifier.

definition:
| "width"
| "height"
| "aspect-ratio"
| "orientation"
| "overflow-block"
| "overflow-inline"
| "horizontal-viewport-segments"
| "vertical-viewport-segments"
| "display-mode"
| "resolution"
| "scan"
| "grid"
| "update"
| "environment-blending"
| "color"
| "color-index"
| "monochrome"
| "color-gamut"
| "dynamic-range"
| "inverted-colors"
| "pointer"
| "hover"
| "any-pointer"
| "any-hover"
| "nav-controls"
| "video-color-gamut"
| "video-dynamic-range"
| "scripting"
| "prefers-reduced-motion"
| "prefers-reduced-transparency"
| "prefers-contrast"
| "forced-colors"
| "prefers-color-scheme"
| "prefers-reduced-data"
| "device-width"
| "device-height"
| "device-aspect-ratio"
| "-webkit-device-pixel-ratio"
| "-moz-device-pixel-ratio"