Pulsating Dot Link

HTML
<a href="http://gmail.com" id="container"> <div class="dot"></div> <div class="pulse"></div> </a>
CSS
#container { margin-top: 20px; margin-left: 30px; position: relative; background: #45453f; display:inline-block; } .pulse { width: 10px; height: 10px; border: 1px solid #fff601; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px; background-color: #716f42; z-index: 10; position: absolute; } .dot { border: 10px solid #fff601; background: transparent; -webkit-border-radius: 60px; -moz-border-radius: 60px; border-radius: 60px; height: 50px; width: 50px; -webkit-animation: pulse 3s ease-out; -moz-animation: pulse 3s ease-out; animation: pulse 3s ease-out; -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; animation-iteration-count: infinite; position: absolute; top: -30px; left: -30px; z-index: 1; opacity: 0; } @-moz-keyframes pulse { 0% { -moz-transform: scale(0); opacity: 0.0; } 25% { -moz-transform: scale(0); opacity: 0.1; } 50% { -moz-transform: scale(0.1); opacity: 0.3; } 75% { -moz-transform: scale(0.5); opacity: 0.5; } 100% { -moz-transform: scale(1); opacity: 0.0; } } @-webkit-keyframes "pulse" { 0% { -webkit-transform: scale(0); opacity: 0.0; } 25% { -webkit-transform: scale(0); opacity: 0.1; } 50% { -webkit-transform: scale(0.1); opacity: 0.3; } 75% { -webkit-transform: scale(0.5); opacity: 0.5; } 100% { -webkit-transform: scale(1); opacity: 0.0; } }
JAVASCRIPT
Expand for more options Login