O'Reilly logo

CSS Pocket Reference, 4th Edition by Eric A. Meyer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Number Values

A number value is expressed as a positive or negative number (when permitted). Numbers can be either real (represented as <number>) or integers (<integer>). They may also restrict the range of acceptable values, as with color values that accept only integers in the range 0–255. A more common range restriction is to limit a number to be non-negative. These are sometimes represented as <non-negative number> or <non-negative integer>.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required