css实现背景渐变

background: -moz-linear-gradient(top, #3C6875 0%, #003443 100%);
background: -webkit-linear-gradient(top, #3C6875 0%,#003443 100%);
background: -o-linear-gradient(top, #3C6875 0%,#003443 100%);
background: -ms-linear-gradient(top, #3C6875 0%,#003443 100%);
background: linear-gradient(top, #3C6875 0%,#003443 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3C6875', endColorstr='#003443',GradientType=0 );

posted @ 2013-01-15 18:38  mguo  阅读(610)  评论(0编辑  收藏  举报