unit

grad — CSS reference

400 gradians form one full turn; 100grad is a right angle, not a percentage. 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(100grad);

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(100grad)} #b {transform:rotate(90deg)}</style><body><div id="a" class="sample"></div><div id="b" class="sample"></div></body></html>
CSS Reference