您的位置:首页 > Web前端 > CSS

css3 实现水晶按钮

2015-12-25 14:49 531 查看
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee432e), color-stop(50%, #c63929), color-stop(50%, #b51700), color-stop(100%, #891100));

这个是中间有明显过渡痕迹的,如果需要逐渐过渡的



background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(white), to(#D7D7D9));

详情可参考http://hellohappy.org/css3-buttons/
http://www.cnblogs.com/lhb25/p/css3-animated-button-tutorials.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: