css 颜色渐变

五迷三道 提交于 2020-08-11 14:23:18
  1. background#1b6c9b;

  2.    filteralpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=red,endcolorstr=blue,gradientType=1);

  3.    -ms-filteralpha(opacity=100 finishopacity=50 style=1 startx=0,starty=0,finishx=0,finishy=150) progid:DXImageTransform.Microsoft.gradient(startcolorstr=red,endcolorstr=blue,gradientType=1);

  4.    background-moz-linear-gradient(top, red, rgba(0, 0, 255, 0.5));

  5.    background-webkit-gradient(linear, 0 0, 0 bottom, from(#1388BF), to(rgb(47, 81, 142)));



兼容多种浏览器

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!