Web platform features explorer

mask-border

Limited availability
Tags: css Groups: Clipping, shapes and masking

The mask-border CSS property sets how the edges of an element are masked. It is a shorthand for mask-border-outset, mask-border-repeat, mask-border-slice, mask-border-source, and mask-border-width.

Learn more

Browser support

  • Chrome
  • Chrome Android
  • Edge
  • Firefox See bugzil.la/877294
  • Firefox for Android See bugzil.la/877294
  • Safari 17.2 Released on 2023-12-11
  • Safari on iOS 17.2 Released on 2023-12-11