Skip to content

Instantly share code, notes, and snippets.

@NickColley
Created July 3, 2018 16:51
Show Gist options
  • Save NickColley/1beb085f8d2c007e5399eefd3ea511b6 to your computer and use it in GitHub Desktop.
Save NickColley/1beb085f8d2c007e5399eefd3ea511b6 to your computer and use it in GitHub Desktop.
Customised colours - Back link example
<!-- This code example is not the same as GOV.UK Frontend, and is just for demonstration. -->
<style>
.back-link::before {
content: '';
display: inline-block;
margin-right: .3em;
border-top: 0.3125em solid transparent;
border-right: 0.375em solid currentColor;
border-bottom: 0.3125em solid transparent;
clip-path: polygon(0% 50%, 100% 100%, 100% 0%);
}
</style>
<a href="/" class="back-link">Back</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment