List of SVG Properties You Can Manipulate with CSS

Avatar of Robin Rendle
Robin Rendle on

Find and fix web accessibility issues with ease using axe DevTools Pro. Try for free!

The strange thing about using CSS to style SVG elements is that only certain properties can be used, depending on the element. For instance, you can set the fill on a <polygon>, but not the points.

The W3C has a list of properties that outlines which SVG properties can be manipulated by CSS.

Direct Link →