Skip to content

Instantly share code, notes, and snippets.

@taclab
Created March 25, 2013 16:27
Show Gist options
  • Select an option

  • Save taclab/5238422 to your computer and use it in GitHub Desktop.

Select an option

Save taclab/5238422 to your computer and use it in GitHub Desktop.
@keyframes crt-on {
0% {
opacity: 0.0;
transform: scale(0.5, 0.005);
box-shadow: inset 0 9999px 0 rgba(255,255,255,1.0);
}
40% {
opacity: 1.0;
}
70% {
transform: scale(1.0, 0.005);
box-shadow: inset 0 9999px 0 rgba(255,255,255,1.0);
}
100% {
transform: scale(1.0, 1.0);
}
}
@keyframes crt-off {
0% {
transform: scale(1.0, 1.0);
opacity: 1.0;
}
40% {
transform: scale(1.0, 0.005);
box-shadow: inset 0 9999px 0 rgba(255,255,255,1.0);
}
70% {
opacity: 1.0;
}
100% {
opacity: 0.0;
transform: scale(0.5, 0.005);
box-shadow: inset 0 9999px 0 rgba(255,255,255,1.0);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment