Menu Home

cm

osbo.com | CSS | Units | cm

The cm CSS unit specifies the length of the element in centimeters.

1cm = 1/2.54in = 10mm = 6/2.54pc = 72/2.54pt = 96/2.54px = 40Q

Syntax

<number>cm

Examples

CSS

JS

Internal

in

mm

pc

pt

px

Q

External

World Wide Web Consortium (W3C)