diff options
| author | Mark Otto <[email protected]> | 2015-11-14 21:12:41 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-11-14 21:12:41 -0800 |
| commit | 2102ab4775a486c7284604fc4d9a43a20040c9d5 (patch) | |
| tree | 2634d36d2628c9cb9bfe7845dc62ab4f6e99ff9c /docs/components | |
| parent | ece98f980cc9dedbab099bd8d4fc1540a218bb9d (diff) | |
| download | bootstrap-2102ab4775a486c7284604fc4d9a43a20040c9d5.tar.xz bootstrap-2102ab4775a486c7284604fc4d9a43a20040c9d5.zip | |
document links with text emphasis classes, fixes #18223
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/utilities.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/components/utilities.md b/docs/components/utilities.md index 788f1a3c8..3bc054774 100644 --- a/docs/components/utilities.md +++ b/docs/components/utilities.md @@ -124,6 +124,17 @@ Convey meaning through color with a handful of emphasis utility classes. These m <p class="text-danger">Donec ullamcorper nulla non metus auctor fringilla.</p> {% endexample %} +Contextual text classes also work well on anchors with the provided hover and focus states. + +{% example html %} +<a href="#" class="text-muted">Muted link</a> +<a href="#" class="text-primary">Primary link</a> +<a href="#" class="text-success">Success link</a> +<a href="#" class="text-info">Info link</a> +<a href="#" class="text-warning">Warning link</a> +<a href="#" 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. {% example html %} |
