2.2 base.link Links
Hyperlinks are used to allow the user to navigate to other resources or to download a resource.
The order of link states are based on Eric Meyer's article: http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
Examples
Default styling
This is a link to another web page.
:visited
A link that has already been visited.
This is a link to another web page.
:hover
A link that is being hovered over.
This is a link to another web page.
:focus
A link that has been given keyboard focus.
This is a link to another web page.
:active
A link that is being actively clicked.
This is a link to another web page.
Markup: base/links/links-a.twig
<span class="xml">This is a <span class="hljs-tag"><<span class="hljs-name">a</span> <span class="hljs-attr">href</span>=<span class="hljs-string">"#"</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"</span></span></span><span class="hljs-template-variable">{{modifier_class}}</span><span class="xml"><span class="hljs-tag"><span class="hljs-string">"</span>></span>link to another web page<span class="hljs-tag"></<span class="hljs-name">a</span>></span>.
</span>
Source:
base/links/_links.scss
, line 1