Skip to content

Instantly share code, notes, and snippets.

@leemartin
Created February 5, 2013 21:40
Show Gist options
  • Save leemartin/4717980 to your computer and use it in GitHub Desktop.
Save leemartin/4717980 to your computer and use it in GitHub Desktop.
My new personal logo can be created completely with CSS borders.
$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