abs() and sign()
Limited availability
The abs()
and sign()
CSS functions compute the absolute value or the sign of the input.
To learn more, see
abs(),
sign() at MDN.
Compatibility
- Chrome ❌ See crbug.com/40253181
- Chrome Android ❌ See crbug.com/40253181
- Edge ❌ See crbug.com/40253181
- Firefox 118 Released on 2023-09-26
- Firefox for Android 118 Released on 2023-09-26
- Safari 15.4 Released on 2022-03-14
- Safari on iOS 15.4 Released on 2022-03-14