px
Pixels
Most commonly used absolute unit for screens
swap_horiz
1px = 1/96th of 1in
cm
Centimeters
Metric unit of length
swap_horiz
1cm = 37.8px = 25.2/64in
mm
Millimeters
Smaller metric unit
swap_horiz
1mm = 1/10th of 1cm
in
Inches
Imperial unit of length
swap_horiz
1in = 2.54cm = 96px
pt
Points
Common in typography and print
swap_horiz
1pt = 1/72nd of 1in
pc
Picas
Used in print design
swap_horiz
1pc = 1/6th of 1in
lightbulb
Important Note
Absolute units are fixed and don't scale relative to other elements. They are primarily used for print media or when precise control is needed. For responsive web design, relative units are generally preferred.
tips_and_updates Best Practices
check_circle
Use px for fine control of borders and shadows
check_circle
Avoid for font sizes in responsive designs
check_circle
Ideal for print stylesheets
check_circle
Mix with relative units for balanced layouts