unit

mm — CSS reference

One millimeter is one tenth of a centimeter, or 96/25.4 CSS pixels.

Formal Syntax & Structure

css syntaxcss
25.4mm

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS reference lab</title><style>html {font-size:16px} #a {font-size:20px;width:25.4mm}</style><body><div id="parent"><div id="a">Sample</div><div id="b">Comparison</div></div></body></html>
CSS Reference