Reputation: 683
I want to use something like that
<span text-variant = 'danger'>text</span>
or
<b-col cols = 12 text-variant = 'danger'> text </b-col>
What is the correct syntax?
Upvotes: 0
Views: 356
Reputation: 10334
You can use class="text-danger" in both of your examples.
class="text-danger"
Upvotes: 1