Web platform features explorer

abs() and sign()

The abs() and sign() CSS functions compute the absolute value or the sign of the input.

Status

Limited availability

MDN documentation

Browser support

  • Chrome
  • Chrome Android
  • Edge
  • 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