Skip to content

Instantly share code, notes, and snippets.

@trinary
Created August 14, 2013 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trinary/6234053 to your computer and use it in GitHub Desktop.
Save trinary/6234053 to your computer and use it in GitHub Desktop.
Blink tags in css animation.
<html>
<head>
<style>
h1 {
-webkit-animation-name: blinker;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: steps(1,end);
}
@-webkit-keyframes blinker {
from {
opacity: 1;
}
50% {
opacity: 0;
}
to {
opacity: 1;
}
}
</style>
</head>
<body>
<h1>HEY I'M BLINKING</h1>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment