當前位置:首頁 >  站長 >  編程技術 >  正文

推薦一款酷炫閃爍的告警按鈕

 2020-10-16 15:04  來源: 腳本之家   我來投稿 撤稿糾錯

  域名預訂/競價,好“米”不錯過

今天小編給大家推薦一款酷炫閃爍的告警按鈕,非常不錯,具有一定的參考借鑒價值,需要的朋友參考下

效果如下:

代碼如下(點擊可展開查看源碼):

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>告警按鈕</title>


<style type="text/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: #1e6a0f; -webkit-box-shadow: 0 0 25px #333; }
50% { background-color: #39ba1f; -webkit-box-shadow: 0 0 75px #39ba1f; }
to { background-color: #1e6a0f; -webkit-box-shadow: 0 0 25px #333; }
}

@-webkit-keyframes greenPulse {
from { background-color: #1e6a0f; -webkit-box-shadow: 0 0 9px #333; }
50% { background-color: #39ba1f; -webkit-box-shadow: 0 0 27px #39ba1f; }
to { background-color: #1e6a0f; -webkit-box-shadow: 0 0 9px #333; }
}

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

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

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

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

@-webkit-keyframes orangellowPulse {
from { background-color: #bd5000; -webkit-box-shadow: 0 0 9px #333; }
50% { background-color: #ffb515; -webkit-box-shadow: 0 0 27px #ffb515; }
to { background-color: #bd5000; -webkit-box-shadow: 0 0 9px #333; }
}

a.button {
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
}

.green.button { -webkit-animation-name: greenPulse;animation-name: greenPulse; -webkit-animation-duration: 2s;animation-duration: 2s; }
.blue.button { -webkit-animation-name: bluePulse; -webkit-animation-duration: 2s; }
.red.button { -webkit-animation-name: redPulse; -webkit-animation-duration: 2s; }
.magenta.button { -webkit-animation-name: magentaPulse; -webkit-animation-duration: 2s; }
.orange.button { -webkit-animation-name: orangePulse; -webkit-animation-duration: 2s; }
.orangellow.button { -webkit-animation-name: orangellowPulse; -webkit-animation-duration: 2s; }

.wall-of-buttons { width: 100%; height: 500px; text-align: center; }
.wall-of-buttons a.button { display: inline-block; margin: 0 30px 30px 0; }

/* playground.css */
.button { background: #222 url(overlay-button.png) repeat-x 0 0; display: inline-block; padding: 5px 15px 6px; color: #fff !important; font-size: 13px; font-weight: bold; line-height: 1; text-decoration: none; -moz-border-radius: 5px; -webkit-border-radius: 5px; -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25); -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25); text-shadow: 0 -1px 1px rgba(0,0,0,0.25); border-bottom: 1px solid rgba(0,0,0,0.25); position: relative; cursor: pointer; overflow: visible; width: auto; }
button::-moz-focus-inner { border: 0; padding: 0; }

.button:hover { background-color: #111; color: #fff; }
.button:active { -webkit-transform: translateY(1px); -moz-transform: translateY(1px); }
/* Small Buttons */
.small.button { font-size: 11px; }
/* Large Buttons */
.large.button { font-size: 14px; padding: 8px 19px 9px; }
/* Colors for our beloved buttons */
.green.button { background-color: #91bd09; }
.green.button:hover { background-color: #749a02; }
.blue.button { background-color: #2daebf; }
.blue.button:hover { background-color: #007d9a; }
.red.button { background-color: #e33100; }
.red.button:hover { background-color: #872300; }
.magenta.button{ background-color: #a9014b; }
.magenta.button:hover { background-color: #630030; }
.orange.button {background-color: #ff5c00;}
.orange.button:hover { background-color: #d45500; }
.orangellow.button { background-color: #ffb515; }
.orangellow.button:hover { background-color: #fc9200; }
.white.button { background-color: #fff; border: 1px solid #ccc; color: #666 !important; font-weight: normal; text-shadow: 0 1px 1px rgba(255,255,255,1); }
.white.button:hover { background-color: #eee; }
</style>

</head>

<body id="radioactiveButtonsPage" class="chrome windows">

<div class="wall-of-buttons">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a class="large green button">正常</a>
<a class="large blue button">運行</a>
<a class="large red button">嚴重</a>
<br />

<a class="large orange button">主要</a>
<a class="large orangellow button">次要</a>
<br />
</p>
</div>

</body>
</html>

總結

以上所述是小編給大家推薦一款酷炫閃爍的告警按鈕,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對腳本之家網站的支持!

如果你覺得本文對你有幫助,歡迎轉載,煩請注明出處,謝謝!

本文來自腳本之家,原文鏈接:https://www.jb51.net/web/701532.html

 

申請創(chuàng)業(yè)報道,分享創(chuàng)業(yè)好點子。點擊此處,共同探討創(chuàng)業(yè)新機遇!

相關標簽
告警按鈕

相關文章

  • 郵件營銷提高轉化率的訣竅和按鈕設計

    當群發(fā)郵件發(fā)送過去后,公司為促成轉化,在郵件中:1、營造緊迫感:公司推出的系列產品讓利于消費者,比方說8.3、在產品介紹完后便附上下單鏈接:在某產品圖文并茂的介紹后面,迅速附上下單的鏈接,消費者只需輕輕點擊一下,便可進去網站特定欄目,下單購買,幾乎都是一鍵式操作,非常簡單。

  • 淺析在網頁設計中如何讓按鈕激發(fā)用戶點擊欲望

    現(xiàn)在建設網站一個重要的核心要素就是能夠對用戶產生良好的吸引力,能夠引導用戶逐層深入的點擊網站,這樣才能夠有效提升用戶在網站上的停留時間,這樣就能夠有效的為網站培養(yǎng)忠誠用戶打下堅實基礎。對此很多站長開始在網頁設計上下功夫,可是有時候對于一些細節(jié)掌握不當,或者忽略了一些細節(jié),導致網站的吸引力出現(xiàn)了明顯的

  • 移動應用設計:談導航欄返回按鈕的替代方案

    呼,又要夜間上新了。其實自己偶爾還會進去關于BeForWeb里面看看將近兩年前寫的博客開篇語。當時的動力現(xiàn)在仍在,當時愛的那個世界現(xiàn)在仍在愛,并且越來越讓我覺得自豪;這讓我開心了些。周六晚上有在喝冰啤酒的兄弟姐妹嗎,有的話我們虛擬碰個杯吧先,周末愉快=)前

熱門排行

信息推薦