<acos>
A trigonometric function that calculates the arccosine of a number. It's used in advanced CSS math for calculating angles in layouts or animations based on side lengths.
Syntax
/* Usage Example */
.element {
/* Calculates an angle based on a ratio */
transform: rotate(calc(acos(0.5)));
}
<acos> Browser support
Widely available
Since
2023 92% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.
111+
108+
15.4+
111+