<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.

Quick 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.

Safe to use without fallbacks.

111+
108+
15.4+
111+
ESC