CSS Length Converter

CSS length converter lets you visually differentiate the various units that can be used for lengths. (absolute lengths, such as: px, mm, cm, in, pt, pc and relative lengths, such as: em, ex ch and rem.) Lengths can be used when setting properties for: border, width, height, margin and padding.

1Absolute Lengths

Size ({{vm.absoluteSize}}px)

2Relative Lengths

HTML Font-Size ({{vm.htmlSize}}px)

Body Font-Size ({{vm.bodySize}}px)

3CSS Length

CSS Length

{{vm.absoluteSize + '' + vm.selectedCssLength.len}}

Description - {{vm.selectedCssLength.len}}

{{vm.selectedCssLength.desc}}