Reference

CSS Media Query Reference

Live

Explore media features with copyable query examples and responsive previews.

About CSS Media Query Reference

Explore media features with copyable query examples and responsive previews. Enter search, feature group in a purpose-built media device explorer. The page searches a versioned local reference dataset and displays matching records without sending the query to a server. Results include copy controls, responsive filters, clear empty states, dataset version details, and the cited source context. The bundled reference is reviewed periodically and may not reflect newly assigned, local, manufacturer-specific, or superseded values. Confirm critical details with the cited authority. Processing stays in your browser and search terms are not sent to UtilityPages.

Explore CSS Media Query Reference

Workspace

Reference desk

Use the fields below to narrow the local reference material to the details you need.

This workspace updates as you edit.

Search by media feature or example.

Choose or enter feature group to refine the reference.

CSS Media Query Reference results

Search or choose a filter to explore the reference.

About this CSS Media Query Reference

The page searches a versioned local reference dataset and displays matching records without sending the query to a server.

How it works

The page searches a versioned local reference dataset and displays matching records without sending the query to a server. The bundled reference is reviewed periodically and may not reflect newly assigned, local, manufacturer-specific, or superseded values. Confirm critical details with the cited authority.

Examples

CSS Media Query Reference example

Example input
{
    "query": "prefers-color-scheme",
    "group": "all"
}
Expected result
{
    "summary": "1 matching record for “prefers-color-scheme”",
    "match_count": 1,
    "results": [
        {
            "feature": "prefers-color-scheme",
            "group": "preference",
            "example": "@media (prefers-color-scheme: dark) { … }",
            "meaning": "Light/dark preference",
            "note": "Do not remove user override controls"
        }
    ]
}

Privacy

This tool does not store your inputs or results on UtilityPages.org.

Citations & sources

  1. Media Queries Level 5

Frequently asked questions

What does the CSS Media Query Reference include?

It includes a reviewed, locally bundled css media query reference dataset with searchable fields and relevant filters.

How do I use the CSS Media Query Reference?

Enter search, feature group, then inspect or copy the matching reference values. Results update in the browser.

Where does the CSS Media Query Reference data come from?

The page cites World Wide Web Consortium and displays the bundled dataset version and review date.

Is the CSS Media Query Reference complete and current?

The bundled reference is reviewed periodically and may not reflect newly assigned, local, manufacturer-specific, or superseded values. Confirm critical details with the cited authority.