CSS - Length Value (Size)

1 - Introduction

Lengths refer to horizontal or vertical measurements.

3 - Format

The format of a length value is a number (with or without a decimal point) immediately followed by a unit identifier

number unit


After a zero length, the unit identifier is optional.

3.1 - Negative

Some properties allow negative length values, but this may complicate the formatting model and there may be implementation-specific limits. If a negative length value cannot be supported, it should be converted to the nearest value that can be supported.

If a negative length value is set on a property that does not allow negative length values, the declaration is ignored.

4 - Documentation / Reference

Data Science
Data Analysis
Data Science
Linear Algebra Mathematics

Powered by ComboStrap