Reference

CSS Units Reference

Live

Compare CSS absolute, font-relative, viewport, container, and angular units.

About CSS Units Reference

Compare CSS absolute, font-relative, viewport, container, and angular units. Enter search, unit group in a purpose-built css measuring 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 Units 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 css unit, name, or use.

Choose or enter unit group to refine the reference.

CSS Units Reference results

Search or choose a filter to explore the reference.

About this CSS Units 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 Units Reference example

Example input
{
    "query": "rem",
    "group": "all"
}
Expected result
{
    "summary": "1 matching record for “rem”",
    "match_count": 1,
    "results": [
        {
            "unit": "rem",
            "group": "font",
            "name": "root font size",
            "relation": "Relative to root element",
            "typical_use": "Page-wide type and spacing scale"
        }
    ]
}

Privacy

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

Citations & sources

  1. CSS Values and Units Level 4

Frequently asked questions

What does the CSS Units Reference include?

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

How do I use the CSS Units Reference?

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

Where does the CSS Units Reference data come from?

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

Is the CSS Units 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.