Hacker News new | ask | show | jobs
by semolino 242 days ago
abs() exists with cross-browser support:

https://developer.mozilla.org/en-US/docs/Web/CSS/abs

There are also other non-custom math functions like round() which can be very useful.