Doğrusal Renk Geçişi 6
Çoklu doğrusal renk geçişi kullanımı
by fatihhayri
HTML
<div id="renkGecisi">
</div>
CSS
#renkGecisi{
background-image: -moz-linear-gradient(left top, #FF9900, #FF0000, transparent), -moz-linear-gradient(right top, #FF9900, #FF0000, transparent); /* FF3.6+ */
background-image: -webkit-linear-gradient(left top, #FF9900, #FF0000, transparent), -webkit-linear-gradient(right top, #FF9900, #FF0000, transparent); /* Chrome10+,Safari5.1+ */
background-image: -webkit-gradient(linear, left top, right bottom, from(#FF9900), colorstop(50%, #FF0000), to(transparent)), -webkit-gradient(linear, right top, left bottom, from(#FF9900), colorstop(50%, #FF0000), to(transparent)); /* Chrome,Safari4+ */
background-image: linear-gradient(left top, #FF9900, #FF0000, transparent), linear-gradient(right top, #FF9900, #FF0000, transparent); /* W3C */
width:300px;
height:250px;
}