Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.CSS.MediaQueryExpression
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { MediaQueryExpression } = Protocol.CSS;

Media query expression descriptor.

Properties

value: number

Media query expression value.

unit: string

Media query expression units.

feature: string

Media query expression feature.

optional
valueRange: SourceRange

The associated range of the value text in the enclosing stylesheet (if available).

optional
computedLength: number

Computed length of media query expression (if applicable).