CSS3 Gradient & Buttons

Die von uns am meisten genutzten CSS-Codes sind hier als Vorlagen hinterlegt:

Button Design Gradient 2012  ( mit IE Filter)

background: -webkit-linear-gradient(#4a4a4a, #161616);
background: linear-gradient(to bottom, #4a4a4a 0%,#161616 100%); /* W3C, FF, IE10 */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#242424', endColorstr='#161616',GradientType=0 ); /* IE6-9 */

Button Design Gradient  ( IE nur oneBackgroundColor)

background: #444444;
background: -moz-linear-gradient(#444444, #111111);
background: -o-linear-gradient(#444444, #111111);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#444444), to(#111111)); /* older webkit syntax */
background: -webkit-linear-gradient(#444444, #111111);

Box Shadow

box-shadow: 0px 1px 3px #000;
-moz-box-shadow: 0px 1px 3px #000;
-webkit-box-shadow: 0px 1px 3px #000;

Text Shadow

text-shadow: 1px 1px 0 #000000;

Text Glowing -

text-shadow: -1px -1px 5px #d9d9d9;