[CSS] 내가 좋아하는 그라데이션

2011.07.16 04:34

treasurej 조회 수:7699

.orange_peel {

background: #ff9f00; /* Old browsers */

background: -moz-linear-gradient(top, #ff9f00 50%, #f27500 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#ff9f00), color-stop(100%,#f27500)); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top, #ff9f00 50%,#f27500 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top, #ff9f00 50%,#f27500 100%); /* Opera11.10+ */

background: -ms-linear-gradient(top, #ff9f00 50%,#f27500 100%); /* IE10+ */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9f00', endColorstr='#f27500',GradientType=0 ); /* IE6-9 */

background: linear-gradient(top, #ff9f00 50%,#f27500 100%); /* W3C */

}


.chlorophyle {
background: #9cc925; /* Old browsers */
background: -moz-linear-gradient(top, #9cc925 50%, #7b740d 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#9cc925), color-stop(100%,#7b740d)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #9cc925 50%,#7b740d 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #9cc925 50%,#7b740d 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #9cc925 50%,#7b740d 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9cc925', endColorstr='#7b740d',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #9cc925 50%,#7b740d 100%); /* W3C */
}

.gold {
background: #ffd900; /* Old browsers */
background: -moz-linear-gradient(top, #ffd900 50%, #ffa400 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(50%,#ffd900), color-stop(100%,#ffa400)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffd900 50%,#ffa400 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffd900 50%,#ffa400 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #ffd900 50%,#ffa400 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd900', endColorstr='#ffa400',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #ffd900 50%,#ffa400 100%); /* W3C */
}



XE Login