hypot() | CSS-Tricks
The CSS hypot() function returns a value’s Euclidean length—accepting numbers, lengths, percentages (even negatives) and multiple arguments—enabling hypotenuse calculations, cursor‑proximity effects, and container‑style queries.
The CSS hypot() function returns a value’s Euclidean length—accepting numbers, lengths, percentages (even negatives) and multiple arguments—enabling hypotenuse calculations, cursor‑proximity effects, and container‑style queries.