Created
October 23, 2012 18:55
-
-
Save Ricardo-Diaz/3940800 to your computer and use it in GitHub Desktop.
CSS: Metro Style buttons
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
//Metro Styles | |
//Boxes will have a 3d effet that looks like windows metro. There is a 3d version and plain button. | |
.metro { | |
display: inline-block; | |
padding: 10px; | |
margin: 10px; | |
background: #08C; | |
/* Font styles */ | |
color: white; | |
font-weight: bold; | |
text-decoration: none; | |
} | |
.metro:hover { background: #0AF; } | |
.metro.three-d { | |
position: relative; | |
box-shadow: | |
1px 1px #53A7EA, | |
2px 2px #53A7EA, | |
3px 3px #53A7EA; | |
transition: all 0.1s ease-in; | |
} | |
.metro.three-d:active { | |
box-shadow: none; | |
top: 3px; | |
left: 3px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment