abs() and sign()
Limited availability
The abs()
and sign()
CSS functions compute the absolute value or the sign of the input.
Learning resources on MDN
Browser support
- 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
Specifications
View web-platform-tests results for this feature - View the feature source file - Edit the feature - Report an issue about this feature