Created
March 21, 2012 15:46
-
-
Save esecamalich/2148757 to your computer and use it in GitHub Desktop.
Untitled
This file contains 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
.a_demo_one { | |
background-color:#ba2323; | |
padding:10px; | |
position:relative; | |
font-family: 'Open Sans', sans-serif; | |
font-size:12px; | |
text-decoration:none; | |
color:#fff; | |
border: solid 1px #831212; | |
background-image: linear-gradient(bottom, rgb(171,27,27) 0%, rgb(212,51,51) 100%); | |
border-radius: 5px; | |
} | |
.a_demo_one:active { | |
padding-bottom:9px; | |
padding-left:10px; | |
padding-right:10px; | |
padding-top:11px; | |
top:1px; | |
background-image: linear-gradient(bottom, rgb(171,27,27) 100%, rgb(212,51,51) 0%); | |
} | |
.a_demo_one::before { | |
background-color:#ccd0d5; | |
content:""; | |
display:block; | |
position:absolute; | |
width:100%; | |
height:100%; | |
padding:8px; | |
left:-8px; | |
top:-8px; | |
z-index:-1; | |
border-radius: 5px; | |
box-shadow: inset 0px 1px 1px #909193, 0px 1px 0px #fff; | |
} |
This file contains 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
<a href="#" class="a_demo_one"> | |
Click me! | |
</a> |
This file contains 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
{"view":"split","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment