CSS制作渐变背景色
<style type="text/css"> #grad1 { background: -webkit-linear-gradient(#C2F2F0,#092433); /* Safari 5.1 - 6.0 */ background: -o-linear-gradient(#C2F2F0,#092433); /* Opera 11.1 - 12.0 */ background: -moz-linear-gradient(#C2F2F0,#092433); /* Firefox 3.6 - 15 */ background: linear-gradient(#C2F2F0,#092433); /* 标准的语法(必须放在最后) */ } </style>