Set the xlink:href attribute of an svg <image> element with CSS

4.5k Views Asked by At

I need to set the 'xlink:href' attribute on an svg <image> element, described here.

Can I do this with CSS?

1

There are 1 best solutions below

0
On BEST ANSWER

No, because xlink:href isn't a CSS property. See the list of css properties required in SVG 1.1.