css 颜色渐变

2023-06-08,,

  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)));

兼容多种浏览器

《css 颜色渐变.doc》

下载本文的Word格式文档,以方便收藏与打印。