Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- div {
- width: 50px;
- height: 50px;
- background-color: blue;
- position: relative;
- animation-name: exemplo;
- animation-duration: 4s;
- animation-iteration-count: infinite;
- }
- @keyframes exaemplo {
- 0% {background-color:blue; left:0px; top:0px;}
- 25% {background-color:yellow; left:200px; top:0px;}
- 50% {background-color:red; left:200px; top:200px;}
- 75% {background-color:green; left:0px; top:200px;}
- 100% {background-color:red; left:0px; top:0px;}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement