Affiliate link

CSS - Sizing Units

Cascading Style Sheets (CSS) is the language for styling website design. The language is written within HTML or XML.

Types of values

  • Number Values
  • Percentage Values
  • Length Values
    • Absolute Length Units
    • Relative Length Units
  • Fraction Values
  • Angles
  • URIs
  • Times
  • Frequencies
  • Position
  • Calculation
  • Attribute
  • Strings
  • Identifiers
  • Variables

Absolute Length Units

CSS solve the problem of putting fonts, color or any styling in HTML attributes.

  • cm - Centimeters
  • mm - Millimeters
  • q - Quater-millimeters
  • in - Inches
  • pt - Points
  • pc - Picas

Relative Length Units

CSS solve the problem of putting fonts, color or any styling in HTML attributes.

  • em - em-height
  • rem - Root element em-height
  • ex - x-height
  • ch - Zero "0" width
  • px - Pixels
  • vh - Viewport height
  • vw - Viewport width
  • vmin - Viewport minimum unit
  • vmax - Viewport maximum unit
Affiliate link
Affiliate link
Advertisment
StudioPress
Fiverr
Ad - SiteGround Web Hosting - Crafted for easy site management. Amazing Speed; Powerful Tools; Top-rated support. Learn more.
rocket.net