function
asin() — CSS reference
Inverse sine accepts a number from -1 to 1 and returns an angle from -90deg to 90deg. Out-of-domain inputs produce NaN.
Formal Syntax & Structure
css syntaxcss
asin(<calc-sum>)Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS math lab</title><style>body {margin:0} .sample {height:12px;background:#006050}#a {transform:rotate(asin(0.5))} #b {transform:rotate(asin(-0.5))} .sample {width:60px;height:20px;margin:30px}</style><body><div class="parent"><div id="a" class="sample"></div><div id="b" class="sample"></div></div></body></html>