<link href="playground.css" media="all" rel="stylesheet" type="text/css" /> 定义不同背景颜色按钮css3过渡效果
.green.button{-webkit-animation-name: greenPulse; -webkit-animation-duration: 3s;} .blue.button{-webkit-animation-name: bluePulse; -webkit-animation-duration: 4s;} .red.button{-webkit-animation-name: redPulse; -webkit-animation-duration: 1s;} .magenta.button{-webkit-animation-name: magentaPulse; -webkit-animation-duration: 2s;} .orange.button{-webkit-animation-name: orangePulse; -webkit-animation-duration: 3s;} .orangellow.button{-webkit-animation-name: orangellowPulse; -webkit-animation-duration: 5s;} <a class="large green button">Look at me!</a> <a class="large blue button">Click me!</a> <a class="large magenta button">Hi ho, Silver!</a> <a class="large green button">Look at me!</a> <a class="large red button">I'm Glowing!</a> <a class="large magenta button">Hi ho, Silver!</a>
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
