在线工具:http://www.colorzilla.com/gradient-editor/
各大浏览器解决方案- background: #125792; /* Old browsers */
- background: -moz-linear-gradient(top, #125792 1%, #05417f 47%, #04457b 100%); /* FF3.6-15 */
- background: -webkit-linear-gradient(top, #125792 1%,#05417f 47%,#04457b 100%); /* Chrome10-25,Safari5.1-6 */
- background: linear-gradient(to bottom, #125792 1%,#05417f 47%,#04457b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#125792', endColorstr='#04457b',GradientType=0 ); /* IE6-9 */
复制代码 |