List of SVG Properties You Can Manipulate with CSS

Avatar of Robin Rendle
Robin Rendle on

DigitalOcean joining forces with CSS-Tricks! Special welcome offer: get $100 of free credit.

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 →