class
class
Assigns a class name or set of class names to an element. You may assign the same class name or names to any number of elements, however, multiple class names must be separated by whitespace characters.
An element's class name serves two key roles:
- As a style sheet selector, for when an author assigns style information to a set of elements.
- For general use by the browser.
You can use this class to style SVG content using CSS.
Usage context
Categories | None |
---|---|
Value | <list-of-class-names> |
Animatable | Yes |
Normative document | 登录查看完整内容
|