Created
October 25, 2017 12:59
-
-
Save clivewalker/932e44408fd9a53ca6f43b2e5328d74e to your computer and use it in GitHub Desktop.
Heading with triangle arrows (from https://parkji.co.uk/2011/08/04/enhancing-heading-styles-using-after.html)
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
h1 { | |
background: #000000; | |
color: #FFFFFF; | |
font-size: 20px; | |
font-weight: bold; | |
padding: 5px; | |
position: relative; | |
} | |
h1:after { | |
border-color: #000000 transparent transparent; | |
border-style: solid; | |
border-width: 10px; | |
content: " "; | |
position: absolute; | |
bottom: -20px; | |
left: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment