v0.15.148 - 32.4 / 23.1

css

There are a variety of ways to set and inline CSS StylesSheets.

# Inline CSS

Could be done just using JSX. css creates a CSSStyleSheet and adds it to the document. The CSSStyleSheet is removed from the document when the element is destroyed.

In an attribute of an element you may use the keyword class which will be replaced for a random class, and that class will be added to the element.