abs() and sign()
Limited availability
The abs()
and sign()
CSS functions compute the absolute value or the sign of the input.
Specifications
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
Developer signals
- State of CSS 2025: features/all_features question
- State of CSS 2024: features/all_features question
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist