1.效果
2.代码
/* 基本色 */ background: #3fb0ac; /* chrome 2+, safari 4+; multiple color stops */ background-image:-webkit-gradient(linear, left top, left bottom, color-stop(1, #3fb0ac), color-stop(1, #c5d7a1)); /* chrome 10+, safari 5.1+ */ background-image: -webkit-linear-gradient(#3fb0ac,#c5d7a1); /* firefox; multiple color stops */ background-image: -moz-linear-gradient(top,#3fb0ac,#c5d7a1,#c5d7a1); /* ie 6+ */ filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#3fb0ac', endcolorstr='#c5d7a1'); /* ie8 + */ -ms-filter: progid:dximagetransform.microsoft.gradient(startcolorstr='#3fb0ac', endcolorstr='#c5d7a1'); /* ie10 */ background-image: -ms-linear-gradient(#3fb0ac, #c5d7a1); /* opera 11.1 */ background-image: -o-linear-gradient(#3fb0ac, #c5d7a1); /* 标准写法 */ background-image: linear-gradient(#3fb0ac, #c5d7a1);
3.问题 亲测以上方式在firefox31下不可行,求高人给出firefox可行方案
我的个人博客:http://blog.caicongyang.com ;
我的个人网站:http://www.caicongyang.com ;
我的csdn博客地址: