Numbers

A number can be specified either as an integer or a real number (one that contains a decimal point), and can have an initial - or + to indicate its sign. Numbers can only be specified in decimal notation. For example, here’s a line-height declaration that uses a number value:

#example {
  line-height: 1.5;
}

User-contributed notes

There are no comments yet.

Related Products