码迷,mamicode.com
首页 > Web开发 > 详细

CSS-背景渐变的兼容写法

时间:2016-11-06 11:18:00      阅读:199      评论:0      收藏:0      [点我收藏+]

标签:back   code   gradient   tom   ack   div   webkit   背景   color   

background-image: -moz-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 75%);
    background-image: -webkit-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 75%);
    background-image: -o-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 75%);
    background-image: -ms-linear-gradient(top, rgba(0,0,0,0), rgba(0,0,0,0.5) 75%);
    background-image: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.5) 75%);
linear-gradient:to 方位词
-前缀-linear-gradient:方位词

CSS-背景渐变的兼容写法

标签:back   code   gradient   tom   ack   div   webkit   背景   color   

原文地址:http://www.cnblogs.com/padding1015/p/6034773.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!