Skip to content

Instantly share code, notes, and snippets.

@resistancecanyon
Last active September 15, 2016 06:40
Show Gist options
  • Save resistancecanyon/cb5c7bee9d583267e493f13dc95d0cc7 to your computer and use it in GitHub Desktop.
Save resistancecanyon/cb5c7bee9d583267e493f13dc95d0cc7 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html lang="en">
<head>
<style>
@keyframes blink {
0% { color: white;background-color:white }
50% { color: white;background-color:green }
100% { color: white; background-color:green }
}
@-webkit-keyframes blink {
0% { color: black; }
100% { color: white; }
}
.blink {
-webkit-animation: blink 1s linear infinite;
-moz-animation: blink 1s linear infinite;
animation: blink 2s linear infinite;
padding:3px;
}
</style>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
This is <span class="blink">blink</span>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment