推荐一款酷炫闪烁的告警按钮

<!DOCTYPE html>

<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 { -webkit-box-shadow: 0 0 25px #333; }
  50% { -webkit-box-shadow: 0 0 75px #39ba1f; }
  to { -webkit-box-shadow: 0 0 25px #333; }
}
 
@-webkit-keyframes greenPulse {
  from { -webkit-box-shadow: 0 0 9px #333; }
  50% { -webkit-box-shadow: 0 0 27px #39ba1f; }
  to { -webkit-box-shadow: 0 0 9px #333; }
}
 
@-webkit-keyframes bluePulse {
  from { -webkit-box-shadow: 0 0 9px #333; }
  50% { -webkit-box-shadow: 0 0 27px #2daebf; }
  to { -webkit-box-shadow: 0 0 9px #333; }
}
 
@-webkit-keyframes redPulse {
  from { -webkit-box-shadow: 0 0 9px #333; }
  50% { -webkit-box-shadow: 0 0 27px #e33100; }
  to { -webkit-box-shadow: 0 0 9px #333; }
}
 
@-webkit-keyframes magentaPulse {
  from { -webkit-box-shadow: 0 0 9px #333; }
  50% { -webkit-box-shadow: 0 0 27px #a9014b; }
  to { -webkit-box-shadow: 0 0 9px #333; }
}
 
@-webkit-keyframes orangePulse {
  from { -webkit-box-shadow: 0 0 9px #333; }
  50% { -webkit-box-shadow: 0 0 27px #ff5c00; }
  to { -webkit-box-shadow: 0 0 9px #333; }
}
 
@-webkit-keyframes orangellowPulse {
  from { -webkit-box-shadow: 0 0 9px #333; }
  50% { -webkit-box-shadow: 0 0 27px #ffb515; }
  to { -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 { 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 { }
.green.button:hover { }
.blue.button { }
.blue.button:hover { }
.red.button { }
.red.button:hover { }
.magenta.button{ }
.magenta.button:hover { }
.orange.button {}
.orange.button:hover { }
.orangellow.button { }
.orangellow.button:hover { }
.white.button { border: 1px solid #ccc; color: #666 !important; font-weight: normal; text-shadow: 0 1px 1px rgba(255,255,255,1); }
.white.button:hover { }
</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>
posted @ 2020-09-21 10:10  残冰辉  阅读(244)  评论(0)    收藏  举报