Web platform features explorer

Opacity (SVG)

Widely available since before 2022-09-24
Tags: css svg Groups: SVG

The fill-opacity, and stroke-opacity SVG attributes and CSS properties control the transparency of a stroke or fill of an SVG element.

Learn more

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

Browser support

  • Chrome ≤80 Released before 2020-02-04
  • Chrome Android ≤80 Released before 2020-02-04
  • Edge ≤80 Released before 2020-02-07
  • Firefox 1.5 Released on 2005-11-29
  • Firefox for Android 4 Released on 2011-03-29
  • Safari ≤13.1 Released before 2020-03-24
  • Safari on iOS ≤13.4 Released before 2020-03-24