/*在给元素设置渐变色时,此时的颜色是作为背景图片来显示*/#content{ /*针对FireFox浏览器*/ background-image: -moz-linear-gradient(top,#fff,#eee); background-image:-webkit-li ...
/*在给元素设置渐变色时,此时的颜色是作为背景图片来显示*/#content{ /*针对FireFox浏览器*/ background-image: -moz-linear-gradient(top,#fff,#eee); background-image:-webkit-linear-gradient(top,#fff,#eee); background-image: linear-gradient(top,#fff,#eee); /*三个参数依次为开始的位置(也可以为角度如45deg),开始颜色,结束颜色*/}
原标题:Html5实现渐变
关键词:HTML
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们:
admin#shaoqun.com
(#换成@)。