UX Lift logo

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.

More from CSS Tricks

© 2026. Made in Manchester by Matt Kevan.

Privacy

Cookies

Contact