// staticdata.dev — cssUnits
// Generated file. Do not edit by hand.
// SPDX-License-Identifier: MIT

export const cssUnits = [
  {
    "unit": "cm",
    "category": "length-absolute",
    "description": "Centimeters. 1cm = 96px/2.54 ≈ 37.8px."
  },
  {
    "unit": "mm",
    "category": "length-absolute",
    "description": "Millimeters. 1mm = 1/10 of 1cm."
  },
  {
    "unit": "Q",
    "category": "length-absolute",
    "description": "Quarter-millimeters. 1Q = 1/4 of 1mm. Primarily used in Japanese print layouts."
  },
  {
    "unit": "in",
    "category": "length-absolute",
    "description": "Inches. 1in = 2.54cm = 96px."
  },
  {
    "unit": "pc",
    "category": "length-absolute",
    "description": "Picas. 1pc = 12pt = 1/6 of 1in."
  },
  {
    "unit": "pt",
    "category": "length-absolute",
    "description": "Points. 1pt = 1/72 of 1in ≈ 1.333px."
  },
  {
    "unit": "px",
    "category": "length-absolute",
    "description": "Pixels. 1px = 1/96 of 1in. The reference pixel unit for CSS."
  },
  {
    "unit": "cap",
    "category": "length-relative",
    "description": "Cap height of the element's font — the height of a capital letter."
  },
  {
    "unit": "ch",
    "category": "length-relative",
    "description": "Width of the '0' (zero) glyph in the element's font."
  },
  {
    "unit": "em",
    "category": "length-relative",
    "description": "Relative to the font-size of the element itself. 1em = current font-size."
  },
  {
    "unit": "ex",
    "category": "length-relative",
    "description": "x-height of the element's font — typically the height of a lowercase 'x'."
  },
  {
    "unit": "ic",
    "category": "length-relative",
    "description": "Width of the '水' (CJK water ideograph) glyph in the element's font."
  },
  {
    "unit": "lh",
    "category": "length-relative",
    "description": "Line height of the element."
  },
  {
    "unit": "rcap",
    "category": "length-relative",
    "description": "Cap height of the root element's font."
  },
  {
    "unit": "rch",
    "category": "length-relative",
    "description": "Width of the '0' glyph in the root element's font."
  },
  {
    "unit": "rem",
    "category": "length-relative",
    "description": "Relative to the font-size of the root element (<html>). 1rem = root font-size (typically 16px)."
  },
  {
    "unit": "rex",
    "category": "length-relative",
    "description": "x-height of the root element's font."
  },
  {
    "unit": "ric",
    "category": "length-relative",
    "description": "Width of the '水' glyph in the root element's font."
  },
  {
    "unit": "rlh",
    "category": "length-relative",
    "description": "Line height of the root element."
  },
  {
    "unit": "svh",
    "category": "length-relative",
    "description": "1% of the small viewport's height (the smallest possible viewport, e.g. with browser UI visible)."
  },
  {
    "unit": "svw",
    "category": "length-relative",
    "description": "1% of the small viewport's width."
  },
  {
    "unit": "svi",
    "category": "length-relative",
    "description": "1% of the small viewport's inline size."
  },
  {
    "unit": "svb",
    "category": "length-relative",
    "description": "1% of the small viewport's block size."
  },
  {
    "unit": "svmin",
    "category": "length-relative",
    "description": "1% of the smaller of svw or svh."
  },
  {
    "unit": "svmax",
    "category": "length-relative",
    "description": "1% of the larger of svw or svh."
  },
  {
    "unit": "lvh",
    "category": "length-relative",
    "description": "1% of the large viewport's height (the largest possible viewport, e.g. with browser UI hidden)."
  },
  {
    "unit": "lvw",
    "category": "length-relative",
    "description": "1% of the large viewport's width."
  },
  {
    "unit": "lvi",
    "category": "length-relative",
    "description": "1% of the large viewport's inline size."
  },
  {
    "unit": "lvb",
    "category": "length-relative",
    "description": "1% of the large viewport's block size."
  },
  {
    "unit": "lvmin",
    "category": "length-relative",
    "description": "1% of the smaller of lvw or lvh."
  },
  {
    "unit": "lvmax",
    "category": "length-relative",
    "description": "1% of the larger of lvw or lvh."
  },
  {
    "unit": "dvh",
    "category": "length-relative",
    "description": "1% of the dynamic viewport's height — updates as browser UI appears/disappears."
  },
  {
    "unit": "dvw",
    "category": "length-relative",
    "description": "1% of the dynamic viewport's width."
  },
  {
    "unit": "dvi",
    "category": "length-relative",
    "description": "1% of the dynamic viewport's inline size."
  },
  {
    "unit": "dvb",
    "category": "length-relative",
    "description": "1% of the dynamic viewport's block size."
  },
  {
    "unit": "dvmin",
    "category": "length-relative",
    "description": "1% of the smaller of dvw or dvh."
  },
  {
    "unit": "dvmax",
    "category": "length-relative",
    "description": "1% of the larger of dvw or dvh."
  },
  {
    "unit": "vh",
    "category": "length-relative",
    "description": "1% of the viewport's height."
  },
  {
    "unit": "vw",
    "category": "length-relative",
    "description": "1% of the viewport's width."
  },
  {
    "unit": "vi",
    "category": "length-relative",
    "description": "1% of the viewport's inline size (width in horizontal writing modes)."
  },
  {
    "unit": "vb",
    "category": "length-relative",
    "description": "1% of the viewport's block size (height in horizontal writing modes)."
  },
  {
    "unit": "vmin",
    "category": "length-relative",
    "description": "1% of the smaller of vw or vh."
  },
  {
    "unit": "vmax",
    "category": "length-relative",
    "description": "1% of the larger of vw or vh."
  },
  {
    "unit": "cqw",
    "category": "length-relative",
    "description": "1% of the query container's width."
  },
  {
    "unit": "cqh",
    "category": "length-relative",
    "description": "1% of the query container's height."
  },
  {
    "unit": "cqi",
    "category": "length-relative",
    "description": "1% of the query container's inline size."
  },
  {
    "unit": "cqb",
    "category": "length-relative",
    "description": "1% of the query container's block size."
  },
  {
    "unit": "cqmin",
    "category": "length-relative",
    "description": "1% of the smaller of cqi or cqb."
  },
  {
    "unit": "cqmax",
    "category": "length-relative",
    "description": "1% of the larger of cqi or cqb."
  },
  {
    "unit": "deg",
    "category": "angle",
    "description": "Degrees. A full circle is 360deg. Used in transforms, gradients, and hue values."
  },
  {
    "unit": "grad",
    "category": "angle",
    "description": "Gradians. A full circle is 400grad. 1grad = 0.9deg."
  },
  {
    "unit": "rad",
    "category": "angle",
    "description": "Radians. A full circle is 2π rad ≈ 6.2832rad."
  },
  {
    "unit": "turn",
    "category": "angle",
    "description": "Turns. A full circle is 1turn. 1turn = 360deg."
  },
  {
    "unit": "s",
    "category": "time",
    "description": "Seconds. Used in animation and transition durations and delays."
  },
  {
    "unit": "ms",
    "category": "time",
    "description": "Milliseconds. 1000ms = 1s."
  },
  {
    "unit": "Hz",
    "category": "frequency",
    "description": "Hertz. Represents the number of cycles per second. Used in aural CSS (speech)."
  },
  {
    "unit": "kHz",
    "category": "frequency",
    "description": "Kilohertz. 1kHz = 1000Hz. Used in aural CSS (speech)."
  },
  {
    "unit": "dpi",
    "category": "resolution",
    "description": "Dots per inch. Used in media queries for screen resolution detection."
  },
  {
    "unit": "dpcm",
    "category": "resolution",
    "description": "Dots per centimeter. 1dpcm ≈ 2.54dpi."
  },
  {
    "unit": "dppx",
    "category": "resolution",
    "description": "Dots per px unit. Equivalent to x (e.g. 2dppx = 2x for retina screens). 1dppx = 96dpi."
  },
  {
    "unit": "x",
    "category": "resolution",
    "description": "Alias for dppx. 2x means 2 device pixels per CSS pixel (retina)."
  },
  {
    "unit": "fr",
    "category": "flex",
    "description": "Flexible length unit for CSS Grid. Represents a fraction of the remaining free space in the grid container."
  }
] as const;

export type CssUnit = (typeof cssUnits)[number];
