v0.18.186 - 34 / 30.1

css

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

# Inline CSS In The Document

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.

# Inline CSS In An Attribute

In the use:css 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.