1 input[type="button"], input[type="button"]:visited { 2 background: -webkit-gradient(linear, 0% 0, 0% 100%, from(#0faf0f), to(#008001)); 3 } 4 5 input[type="button"]:hover, input[type="button"]:active { 6 background: -webkit-gradient(linear, 0% 0, 0% 100%, from(#005801), to(#008001)); 7 }
background: -webkit-gradient();
CSS3----background:-webkit-gradient()渐变效果,布布扣,bubuko.com
CSS3----background:-webkit-gradient()渐变效果
原文:http://www.cnblogs.com/daishuguang/p/3594340.html