Tuesday, August 27, 2013

Is CSS for SVG "standard" CSS?

Is CSS for SVG "standard" CSS?

I'd like to style some SVG sprites using an external stylesheet, as
detailed in this Sitepoint tutorial and W3C's Styling with SVG.
However, the CSS isn't very, er, standard:
rect {
fill: red;
stroke: blue;
stroke-width: 3
}
as it doesn't validate with the W3C CSS Validator.
What gives?

No comments:

Post a Comment