Skip to content

Instantly share code, notes, and snippets.

@dkapila
Created March 16, 2015 19:47
Show Gist options
  • Save dkapila/c9f946dcd6a099352b2e to your computer and use it in GitHub Desktop.
Save dkapila/c9f946dcd6a099352b2e to your computer and use it in GitHub Desktop.
Untitled
#y {
height: 100px; width: 100px;
position :relative;
background: #ccc;
}
#y::before {
content: '';
position: absolute;
z-index: -1;
top: 0 right: 0; bottom: 0; left: 0;
background: #58a;
transform: skew(45deg);
}
<a href = "#yolo" class = "button"> <div> Click me </div> </a>
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment