v0.14.134 - 63.7 / 33.7

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.