Created
October 25, 2012 14:58
-
-
Save clauda/3953091 to your computer and use it in GitHub Desktop.
Snippet: Modern Button CSS
This file contains hidden or 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
<snippet> | |
<content><![CDATA[ | |
.modern { | |
display: inline-block; | |
margin: 10px; | |
padding: 8px 15px; | |
background: #B8ED01; | |
border: 1px solid rgba(0,0,0,0.15); | |
border-radius: 4px; | |
transition: all 0.3s ease-out; | |
box-shadow: | |
inset 0 1px 0 rgba(255,255,255,0.5), | |
0 2px 2px rgba(0,0,0,0.3), | |
0 0 4px 1px rgba(0,0,0,0.2); | |
/* Font styles */ | |
text-decoration: none; | |
text-shadow: 0 1px rgba(255,255,255,0.7); | |
} | |
]]> | |
</content> | |
<tabTrigger>modern</tabTrigger> | |
<scope>source.css</scope> | |
<description>Beatifull n Modern Button with CSS</description> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment