Sha256: b2077640bc730a2ea323d1fbc7bc7185df1a51f129c7bb1cbd01df7011de5efc

Contents?: true

Size: 692 Bytes

Versions: 13

Compression:

Stored size: 692 Bytes

Contents

---
layout: docs
title: Colored links
description: Colored links with hover states
group: helpers
toc: false
---

You can use the `.link-*` classes to colorize links. Unlike the [`.text-*` classes]({{< docsref "/utilities/colors" >}}), these classes have a `:hover` and `:focus` state.

{{< example >}}
{{< colored-links.inline >}}
{{- range (index $.Site.Data "theme-colors") }}
<a href="#" class="link-{{ .name }}">{{ .name | title }} link</a>
{{- end -}}
{{< /colored-links.inline >}}
{{< /example >}}

{{< callout info >}}
Some of the link styles use a relatively light foreground color, and should only be used on a dark background in order to have sufficient contrast.
{{< /callout >}}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.18.0 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.17.0 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.16.0 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.6 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.5 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.4 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.3 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.1.2 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.2.pre1 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.1.1 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.1 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md
card-mod-bootstrap-0.15.0 vendor/bootstrap/site/content/docs/5.1/helpers/colored-links.md