SVG effects for HTML

- REC

Method of using SVG transforms, filters, etc on HTML elements using either CSS or the foreignObject element

Chrome

  1. ◐ 4 - 154: Partial support
  2. ◐ 155: Partial support
  3. ◐ 156 - 158: Partial support

Edge

  1. ◐ 12 - 18: Partial support
  2. ◐ 79 - 154: Partial support
  3. ◐ 155: Partial support

Safari

  1. ❌ 3.1 - 3.2: Not supported
  2. ◐ 4 - 26.6: Partial support
  3. ◐ 27: Partial support
  4. ◐ 27.1 - TP: Partial support

Firefox

  1. ❌ 2: Not supported
  2. ◐ 3: Partial support
  3. ✅ 3.5 - 157: Supported
  4. ✅ 158: Supported
  5. ✅ 159 - 161: Supported

Opera

  1. ◐ 9 - 134: Partial support
  2. ◐ 135: Partial support

IE

  1. ❌ 5.5 - 8: Not supported
  2. ◐ 9 - 10: Partial support
  3. ◐ 11: Partial support

Chrome for Android

  1. ◐ 155: Partial support

Safari on iOS

  1. ◐ 3.2 - 26.6: Partial support
  2. ◐ 27.0: Partial support
  3. ◐ 27.1 - 27.2: Partial support

Samsung Internet

  1. ◐ 4 - 29: Partial support
  2. ◐ 30: Partial support

Opera Mini

  1. ❌ all: Not supported

Opera Mobile

  1. ◐ 10 - 12.1: Partial support
  2. ◐ 80: Partial support

UC Browser for Android

  1. ◐ 15.5: Partial support

Android Browser

  1. ❌ 2.1 - 4.3: Not supported
  2. ◐ 4.4 - 4.4.4: Partial support
  3. ◐ 155: Partial support

Firefox for Android

  1. ✅ 158: Supported

QQ Browser

  1. ◐ 14.9: Partial support

Baidu Browser

  1. ◐ 13.52: Partial support

KaiOS Browser

  1. ✅ 2.5: Supported
  2. ✅ 3: Supported

Partial support refers to lack of filter support or buggy result from effects. A CSS Filter Effects specification is in the works that would replace this method.

Resources:
MDN Web Docs - Applying SVG effects
MDN Web Docs - Other content in SVG
Filter Effects draft