Created
December 2, 2010 00:35
-
-
Save terjin/724528 to your computer and use it in GitHub Desktop.
A blip that pulsates created with css3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .tip_shape { | |
| position: absolute; | |
| top: 22px; | |
| left: 7px; | |
| width: 10px; | |
| height: 10px; | |
| -webkit-border-radius: 20px; | |
| -moz-border-radius: 20px; | |
| border-radius: 20px; | |
| -webkit-box-shadow: 0 0 2px black; | |
| background: -webkit-gradient(linear, left top, left bottom, from(#a7d049), to(#618714)); | |
| } | |
| .tip_glow { | |
| position: absolute; | |
| top: 6px; | |
| left: -8px; | |
| width: 30px; | |
| height: 30px; | |
| -webkit-border-radius: 20px; | |
| -moz-border-radius: 20px; | |
| border-radius: 20px; | |
| border: 5px solid green; | |
| opacity: 0; | |
| -webkit-animation-name: 'blip'; | |
| -webkit-animation-duration: 2s; | |
| -webkit-animation-iteration-count: infinite; | |
| -webkit-animation-timing-function: ease-in-out; | |
| } | |
| @-webkit-keyframes 'blip' | |
| { | |
| 0% { | |
| -webkit-transform: scale(.1); | |
| opacity: 0; | |
| } | |
| 1% { | |
| -webkit-transform: scale(.1); | |
| opacity: .6; | |
| } | |
| 60% { | |
| opacity: 0; | |
| -webkit-transform: scale(1); | |
| } | |
| 100% { | |
| opacity: 0; | |
| -webkit-transform: scale(1); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment