Created
January 10, 2013 20:11
-
-
Save Jaswetz/4505390 to your computer and use it in GitHub Desktop.
Untitled
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
body | |
{ | |
background: seaShell; | |
position: relative | |
} | |
.tip-shape | |
{ | |
position: absolute; | |
top: 50px; | |
left: 50px; | |
width: 10px; | |
height: 10px; | |
border-radius: 20px; | |
background: linear-gradient(top, tomato, #ff8e7a); | |
box-shadow: 0 1px 1px 0 rgba(255,255,255,.5) inset, 0 -1px 1px 0 rgba(0,0,0,.2) inset, 0 2px 3px 0px rgba(51,51,51,.3); | |
border: 1px solid #e37663; | |
} | |
.tip-glow | |
{ | |
position: absolute; | |
top: 36px; | |
left: 36px; | |
width: 35px; | |
height: 35px; | |
border-radius: 20px; | |
background: rgba(255, 99, 71, .5); | |
border: 3px solid tomato; | |
animation: blip 2s 0s ease-in-out infinite; | |
opacity: 0; | |
} | |
@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); | |
} | |
} | |
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
<!-- content to be placed inside <body>…</body> --> | |
<div class="tip-glow"></div> | |
<div class="tip-shape"></div> | |
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
// alert('Hello world!'); |
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
{"view":"split","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