Skip to content

Instantly share code, notes, and snippets.

@iamsebastian
Created October 30, 2012 14:38
Show Gist options
  • Save iamsebastian/3980575 to your computer and use it in GitHub Desktop.
Save iamsebastian/3980575 to your computer and use it in GitHub Desktop.
Untitled
body {background: url("http://subtlepatterns.subtlepatterns.netdna-cdn.com/patterns/bedge_grunge.png");}
div.button {
border-radius: 1.3rem;
width: 4rem;
height: 9rem;
background: hsla(43,90%,50%,.7);
background: linear-gradient(180deg,hsla(47,100%,60%,1),hsla(39,60%,50%,1));
box-shadow: /*0 4px 0 3px hsla(0,0%,100%,.4),*/
/*0 0 1px 1px hsla(0,0%,0%,.1),
0 3px 4px 1px hsla(0,0%,0%,.1),
0 2px 1px 2px hsla(0,0%,0%,.1),*/
0 2px 0px 3px hsla(0,0%,100%,.3),
0 -2px 0px 2px hsla(0,0%,0%,.2),
inset 0 8px 0 0 hsla(0,0%,100%,.1),
inset 0 -8px 8px 0 hsla(0,0%,0%,.5),
inset 0 0 0 8px hsla(0,0%,0%,.03),
inset 0 0 0 6px hsla(0,0%,0%,.08),
inset 0 0 0 4px hsla(0,0%,0%,.12),
inset 0 0 0 2px hsla(0,0%,0%,.16),
inset 0 0 0 1px hsla(0,0%,0%,.20),
inset 0 2px 2px 8px hsla(46,100%,50%,.1),
inset 0 2px 1px 8px hsla(0,0%,100%,.1);
}
<div class="button"/>
{"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