@@ -124,6 +124,17 @@ Convey meaning through color with a handful of emphasis utility classes. These m
...
@@ -124,6 +124,17 @@ Convey meaning through color with a handful of emphasis utility classes. These m
<pclass="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p>
<pclass="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p>
{% endexample %}
{% endexample %}
Contextual text classes also work well on anchors with the provided hover and focus states.
{% example html %}
<ahref="#"class="text-muted">Muted link</a>
<ahref="#"class="text-primary">Primary link</a>
<ahref="#"class="text-success">Success link</a>
<ahref="#"class="text-info">Info link</a>
<ahref="#"class="text-warning">Warning link</a>
<ahref="#"class="text-danger">Danger link</a>
{% endexample %}
Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes.
Similar to the contextual text color classes, easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes.