Skip to content

Instantly share code, notes, and snippets.

@M-J-Robbins
Last active March 13, 2018 13:39
Show Gist options
  • Save M-J-Robbins/580b1afeb4c6e223aef5511c289f3ea9 to your computer and use it in GitHub Desktop.
Save M-J-Robbins/580b1afeb4c6e223aef5511c289f3ea9 to your computer and use it in GitHub Desktop.
<style>
.test{
height:100px;
width:100px;
background:red;
animation:colour-change 1s infinite;
}
@keyframes colour-change {
0%{background:red;}
33.33%{background:green}
66.66%{background:yellow}
100%{background:blue}
}
</style>
<div class="test">
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment