星空网 > 软件开发 > 网页设计

CSS常用渐变

边框渐变:

1 border-image: -webkit-linear-gradient( red , blue) 30 30;2 border-image: -moz-linear-gradient( red, blue) 30 30;3 border-image: linear-gradient( red , blue) 30 30;

CSS常用渐变

 

文字渐变:(只支持-webkit-)

1 background-image: -webkit-gradient(linear, 0 0, 0 80%, from(nth($color7, 3)), to(nth($color7, 4)));2 -webkit-background-clip: text;3 -webkit-text-fill-color: transparent;

CSS常用渐变

 

背景渐变:

1 filter: alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=red,endcolorstr=blue,gradientType=0);2 -ms-filter: alpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=red,endcolorstr=blue,gradientType=0); 3 background: red; /* 一些不支持背景渐变的浏览器 */ 4 background: -moz-linear-gradient(top, red, blue); 5 background: -webkit-gradient(linear, 0 0, 0 bottom, from(red), to(blue));

 

 CSS常用渐变

 




原标题:CSS常用渐变

关键词:CSS

CSS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

深圳盐田综合保税区跨境电商新业态发展推介会圆满举行:https://www.ikjzd.com/articles/130357
2020亚马逊乘风破浪-旺季掘金同学会:https://www.ikjzd.com/articles/130358
备战旺季(下)AMAZON PPC广告百科解答全书:https://www.ikjzd.com/articles/130372
2020亚马逊澳洲站注册资料、开店流程及费用全攻略:https://www.ikjzd.com/articles/130373
跨境电商干货:亚马逊Listing排名突然下降怎么办?:https://www.ikjzd.com/articles/130374
一条优秀的listing,应该有怎样的评判标准?:https://www.ikjzd.com/articles/130375
亚马逊旺季运营攻略:https://www.xlkjsw.com/news/39627.html
亚马逊突破发货限制的操作原理及应对方法:https://www.xlkjsw.com/news/39628.html
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流