snippets star schaufler.ch

CSS3 Farbverlauf

#gradient {
background:#A2CFFF;/*fallback*/
background:-webkit-gradient(linear,left top,left bottom,from(#224058),to(#6CB2FC));
background:-webkit-linear-gradient(top,#224058,#A2CFFF);
background:   -moz-linear-gradient(top,#224058,#A2CFFF);
background:    -ms-linear-gradient(top,#224058,#A2CFFF);
background:     -o-linear-gradient(top,#224058,#A2CFFF);
background:        linear-gradient(to bottom,#224058, #A2CFFF);/*Standard*/
}
Tags: color, css3 von Andy 29-04-2011