data-type
<angle> — CSS reference
The angle type accepts deg, grad, rad and turn; 90deg, 100grad, π/2 radians and a quarter turn are equivalent. The unit follows the number without spaces. Negative rotations are valid in rotate(); prefer an explicit unit for zero because only some grammars accept unitless zero. Equivalent static orientations do not necessarily have equivalent animation paths.
Formal Syntax & Structure
css syntaxcss
transform: rotate(.25turn);Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Numeric dimension lab</title><style>body {margin:0} .sample {height:12px;background:#006050}.sample {width:80px;height:24px;margin:40px} #a {transform:rotate(.25turn)} #b {transform:rotate(90deg)}</style><body><div id="a" class="sample"></div><div id="b" class="sample"></div></body></html>