CSS classes and styling
Learn how to style elements, components and other facets of an Aurelia application using classes and CSS. Strategies for different approaches are discussed in this section.
Binding HTML Classes
Binding to a single class
<p selected.class="isSelected">I am selected (I think)</p>Binding to multiple classes
Syntax
Input Type
Example
Binding Inline Styles
Binding to a single style
Binding to multiple styles
Style binding using strings
Style binding using objects
Last updated
Was this helpful?