Created
July 3, 2018 16:51
-
-
Save NickColley/1beb085f8d2c007e5399eefd3ea511b6 to your computer and use it in GitHub Desktop.
Customised colours - Back link example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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