Created
February 16, 2011 09:06
-
-
Save renyi/829071 to your computer and use it in GitHub Desktop.
CSS3 - snippets
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
/* Gradient */ | |
background-image: -moz-linear-gradient( center bottom, | |
rgb(22,21,18) 22%, | |
rgb(49,49,45) 61%, | |
rgb(79,79,72) 81% ); | |
background-image: -webkit-gradient( linear, | |
left bottom, | |
left top, | |
color-stop(0.22, rgb(22,21,18)), | |
color-stop(0.61, rgb(49,49,45)), | |
color-stop(0.81, rgb(79,79,72)) ); | |
/* border-radius */ | |
.round { | |
-moz-border-radius:28px; | |
-webkit-border-radius:28px; | |
-opera-border-radius:28px; | |
-khtml-border-radius:28px; | |
border-radius:28px; | |
} | |
/* box-shadow */ | |
.shadow { | |
-moz-box-shadow: 5px 5px 5px #ccc; | |
-webkit-box-shadow: 5px 5px 5px #ccc; | |
box-shadow: 5px 5px 5px #ccc; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment