Number Values

A number value is expressed as a positive or negative number (when permitted). Numbers can be either real or integers, and some properties or value types may restrict number values to integers. They may also restrict the range of acceptable values, as with color values that accept only integers in the range 0–255.

Get CSS Pocket Reference, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.