Using CSS Angles

You express angles as a number followed by a unit-for example, 360deg.

The list of supported angle units:

Unit IdentifierDescription
degthe angle in degrees (values are from 0deg to 360deg)
gradthe angle in gradians (values are from 0grad to 400grad)
radthe angle in radians (values are from 0rad to 6.28rad)
turnthe angle in complete turns (1turn is equal to 360deg)
Home 
  HTML CSS Book 
    CSS  

CSS Value:
  1. CSS Colors
  2. CSS Lengths
  3. Absolute units of measurement
  4. Relative units of measurement
  5. Working with Pixels
  6. Working with Percentages
  7. CSS Unit Calculations
  8. Using CSS Angles
  9. Using CSS Times
Related: