Skip to content

Instantly share code, notes, and snippets.

@Jaswetz
Created March 6, 2014 00:08
Show Gist options
  • Save Jaswetz/9379447 to your computer and use it in GitHub Desktop.
Save Jaswetz/9379447 to your computer and use it in GitHub Desktop.
Untitled
.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);
}
}
<div class="tip_glow"></div>
<div class="tip_shape"></div>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment