The SVG styling attributes are all the attributes that can be specified on any SVG element to apply CSS styling effects.
class
Assigns a class name or set of class names to an element. It functions identically to the
class
attribute in HTML.
值
: Any valid ID string;
Animatable
:
Yes
style
It specifies style information for its element. It functions identically to the
style
attribute in HTML.
值
: Any valid style string;
Animatable
:
No
BCD tables only load in the browser
最后修改: , 由 MDN 贡献者