Skip to content

Instantly share code, notes, and snippets.

@kawasako
Created August 24, 2013 07:01
Show Gist options
  • Save kawasako/6326561 to your computer and use it in GitHub Desktop.
Save kawasako/6326561 to your computer and use it in GitHub Desktop.
CSS3 ie icon animation
// Example .ball>.ie
@-webkit-keyframes pop {
0% {
top: 0;
}
10% {
top: -30px;
}
30% {
top: 0;
}
40% {
top: -15px;
}
60% {
top: 0;
}
100% {
top: 0;
}
}
.ball {
margin: 0 auto;
width: 100px;
text-align: center;
&:after {
content: "Internet Explorer";
color: #555;
font-size: 12px;
}
.ie {
-webkit-animation: pop cubic-bezier(0.4, 0.1, 0.4, 0.1) 1.5s infinite;
position: relative;
line-height: 1;
color: #ccc;
font-family: Helvetica;
font-weight: bold;
font-size: 70px;
text-shadow: 1px 1px 0px #aaa,
2px 2px 0px #888,
3px 3px 0px #aaa;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment