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

Angles

The format of an <angle> is expressed as a <number> followed immediately by an angle unit. There are four types of angle units: degrees (deg), grads (grad), radians (rad), and turns (turn). For example, a right angle could be declared as 90deg, 100grad, 1.571rad, or 0.25turn; in each case, the values are translated into degrees in the range 0 through 360. This is also true of negative values, which are allowed. The measure −90deg is the same as 270deg.

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