JSFiddle - React, Tailwind, and code Playground

by jer2

HTML

<div ng-class="myClass">
    Using ng-class (with no quotes so maybe it doesn't evaluate to a String).
</div>

<hr>

<div ng-class="'myClass'">
    Using ng-class (with quotes around the class name so it is (?) evaluated to a String).
</div>

<hr>

<div class="myClass">
    Using regular class, no ng-class.
</div>

CSS

.myClass {
    font-size:20pt;
}