Skip to main content Skip to docs navigation
Check
View on GitHub

Colored links

Colored links with hover states

You can use the .link-* classes to colorize links. Unlike the .text-* classes, these classes have a :hover and :focus state.

html
<a href="#" class="link-primary">Primary link</a>
<a href="#" class="link-secondary">Secondary link</a>
<a href="#" class="link-success">Success link</a>
<a href="#" class="link-danger">Danger link</a>
<a href="#" class="link-warning">Warning link</a>
<a href="#" class="link-info">Info link</a>
<a href="#" class="link-light">Light link</a>
<a href="#" class="link-dark">Dark link</a>
<a href="#" class="link-maricopa-blue">Maricopa-Blue link</a>
<a href="#" class="link-cgc-primary">Cgc-Primary link</a>
<a href="#" class="link-cgc-secondary">Cgc-Secondary link</a>
<a href="#" class="link-emc-primary">Emc-Primary link</a>
<a href="#" class="link-emc-secondary">Emc-Secondary link</a>
<a href="#" class="link-gcc-primary">Gcc-Primary link</a>
<a href="#" class="link-gcc-secondary">Gcc-Secondary link</a>
<a href="#" class="link-gwc-primary">Gwc-Primary link</a>
<a href="#" class="link-gwc-secondary">Gwc-Secondary link</a>
<a href="#" class="link-mcc-primary">Mcc-Primary link</a>
<a href="#" class="link-mcc-secondary">Mcc-Secondary link</a>
<a href="#" class="link-pcc-primary">Pcc-Primary link</a>
<a href="#" class="link-pcc-secondary">Pcc-Secondary link</a>
<a href="#" class="link-pvc-primary">Pvc-Primary link</a>
<a href="#" class="link-pvc-secondary">Pvc-Secondary link</a>
<a href="#" class="link-rsc-primary">Rsc-Primary link</a>
<a href="#" class="link-rsc-secondary">Rsc-Secondary link</a>
<a href="#" class="link-scc-primary">Scc-Primary link</a>
<a href="#" class="link-scc-secondary">Scc-Secondary link</a>
<a href="#" class="link-smc-primary">Smc-Primary link</a>
<a href="#" class="link-smc-secondary">Smc-Secondary link</a>
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.