Created
November 18, 2013 01:06
-
-
Save distransient/7520763 to your computer and use it in GitHub Desktop.
pseudo element for hexagon
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
header.hero h2:before { | |
content: " "; | |
display: block; | |
position: absolute; | |
top: 1em; | |
bottom: 1em; | |
left: 2em; | |
right: 2em; | |
background: transparent url('/web-resources/hexagon-outline.svg') no-repeat center center; | |
-webkit-background-size: contain; | |
-moz-background-size: contain; | |
-o-background-size: contain; | |
background-size: contain; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment