Skip to content

Instantly share code, notes, and snippets.

@Alex-dlc
Created March 27, 2012 21:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Alex-dlc/2220213 to your computer and use it in GitHub Desktop.
Save Alex-dlc/2220213 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.a_demo_two {
background-color:#6fba26;
padding:10px;
position:relative;
font-family: 'Open Sans', sans-serif;
font-size:12px;
text-decoration:none;
color:#fff;
background-image: linear-gradient(bottom, rgb(44,160,30) 0%, rgb(129,212,51) 100%);
box-shadow: inset 0px 1px 0px #b2f17f, 0px 6px 0px #3d6f0d;
border-radius: 5px
;
}
.a_demo_two:active {
top:7px;
background-image: linear-gradient(bottom, rgb(44,160,30) 0%, rgb(129,212,51) 100%);
box-shadow: inset 0px 1px 0px #b2f17f, inset 0px -1px 0px #3d6f0d;
color: #fff;
text-shadow: 0px 1px 1px rgba(255,255,255,0.3)
background: linear-gradient(bottom, rgb(44,160,30) 0%, rgb(129,212,51) 100%);
}
<!-- content to be placed inside <body>…</body> -->
<a href="#" class="a_demo_two">
Click here now!
</a>
{"view":"split-vertical","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment