第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

純CSS3發(fā)光按鈕動(dòng)畫 非常絢麗

標(biāo)簽:
CSS3

之前为大家介绍了一款魔幻般的冒泡背景按钮,这次要分享另外一个非常绚丽的按钮动画,我们利用CSS3特性给每一个按钮渲染不同的颜色,然后让按钮出现闪闪发光的动画特效。虽然这种花哨的按钮动画可能应用的地方不多,但这毕竟是用纯CSS3实现的,利用起来非常方便,如果你的页面上需要个性化的按钮,那么可以考虑一下使用这款发光按钮。

在线演示

CSS代码

/* Place all stylesheet code here */body { background: #333; text-shadow: 0 1px 1px rgba(0,0,0,.5); }

@-webkit-keyframes bigAssButtonPulse {  from { background-color: #749a02; -webkit-box-shadow: 0 0 25px #333; }
  50% { background-color: #91bd09; -webkit-box-shadow: 0 0 50px #91bd09; }  to { background-color: #749a02; -webkit-box-shadow: 0 0 25px #333; }
}

@-webkit-keyframes greenPulse {  from { background-color: #749a02; -webkit-box-shadow: 0 0 9px #333; }
  50% { background-color: #91bd09; -webkit-box-shadow: 0 0 18px #91bd09; }  to { background-color: #749a02; -webkit-box-shadow: 0 0 9px #333; }
}

@-webkit-keyframes bluePulse {  from { background-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
  50% { background-color: #2daebf; -webkit-box-shadow: 0 0 18px #2daebf; }  to { background-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
}

@-webkit-keyframes redPulse {  from { background-color: #bc330d; -webkit-box-shadow: 0 0 9px #333; }
  50% { background-color: #e33100; -webkit-box-shadow: 0 0 18px #e33100; }  to { background-color: #bc330d; -webkit-box-shadow: 0 0 9px #333; }
}

@-webkit-keyframes magentaPulse {  from { background-color: #630030; -webkit-box-shadow: 0 0 9px #333; }
  50% { background-color: #a9014b; -webkit-box-shadow: 0 0 18px #a9014b; }  to { background-color: #630030; -webkit-box-shadow: 0 0 9px #333; }
}

@-webkit-keyframes orangePulse {  from { background-color: #d45500; -webkit-box-shadow: 0 0 9px #333; }
  50% { background-color: #ff5c00; -webkit-box-shadow: 0 0 18px #ff5c00; }  to { background-color: #d45500; -webkit-box-shadow: 0 0 9px #333; }
}

@-webkit-keyframes orangellowPulse {  from { background-color: #fc9200; -webkit-box-shadow: 0 0 9px #333; }
  50% { background-color: #ffb515; -webkit-box-shadow: 0 0 18px #ffb515; }  to { background-color: #fc9200; -webkit-box-shadow: 0 0 9px #333; }
}a.button {	-webkit-animation-duration: 2s;	-webkit-animation-iteration-count: infinite; 
}.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; }.wall-of-buttons { width: 100%; height: 180px; text-align: center; }.wall-of-buttons a.button { display: inline-block; margin: 0 10px 9px 0; }

在线演示  源码下载

本文链接:http://www.codeceo.com/article/pure-css3-shine-buttons.html
本文作者:码农网 – 小峰

點(diǎn)擊查看更多內(nèi)容
TA 點(diǎn)贊

若覺(jué)得本文不錯(cuò),就分享一下吧!

評(píng)論

作者其他優(yōu)質(zhì)文章

正在加載中
  • 推薦
  • 評(píng)論
  • 收藏
  • 共同學(xué)習(xí),寫下你的評(píng)論
感謝您的支持,我會(huì)繼續(xù)努力的~
掃碼打賞,你說(shuō)多少就多少
贊賞金額會(huì)直接到老師賬戶
支付方式
打開(kāi)微信掃一掃,即可進(jìn)行掃碼打賞哦
今天注冊(cè)有機(jī)會(huì)得

100積分直接送

付費(fèi)專欄免費(fèi)學(xué)

大額優(yōu)惠券免費(fèi)領(lǐng)

立即參與 放棄機(jī)會(huì)
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)

舉報(bào)

0/150
提交
取消