Created
February 5, 2013 21:40
-
-
Save leemartin/4717980 to your computer and use it in GitHub Desktop.
My new personal logo can be created completely with CSS borders.
This file contains hidden or 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
$white: #FFFFFF | |
$grey: #CCC | |
$logo: 75px | |
#logo | |
height: $logo | |
width: $logo * 2 | |
&:before, &:after | |
border-style: solid | |
border-width: $logo / 2 | |
content: "" | |
height: 0 | |
+inline-block() | |
width: 0 | |
&:before | |
border-color: transparent transparent $grey $white | |
&:after | |
border-color: transparent $grey $grey $white |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment