Links are used to embed actions or pathways to more information, allowing users to click their way from page to page.

Default

Default links are a color defined by $color-link and are 10% darker when already visited.

View example of the default link pattern

External

The .p-link--external class should be used on hyperlinks that go to a different domain than the current one.

Note:The `p-link--external` class makes use of the fairly new CSS Masks. For support in more browsers you should run your CSS through an autoprefixer before deploying.

View example of the external link pattern

Soft

The .p-link--soft class should be used on hyperlinks where many links are grouped together, such as a link cloud.

View example of the soft link pattern

Inverted

The .p-link--inverted class should be used where links are placed on a dark background.

View example of the inverted link pattern

Back to top

The .p-top link can be used to make it easier to go back to the top on long pages. If the page is divided into different sections, you can use more than one per page.

View example of the back to top pattern

Design

For more information view the links design spec which includes the specification in markdown format and a PNG image.