CSS3----background:-webkit-gradient()渐变效果

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

 

 

posted @ 2014-03-11 16:51  daishuguang  阅读(450)  评论(0编辑  收藏  举报