Skip to content

Instantly share code, notes, and snippets.

@renyi
Created February 16, 2011 09:06
Show Gist options
  • Save renyi/829071 to your computer and use it in GitHub Desktop.
Save renyi/829071 to your computer and use it in GitHub Desktop.
CSS3 - snippets
/* 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