1/* Answer to: "css animation library" */
2
3/*
4 There are an awful lot of libraries that want to help you animate
5 things on the web. These aren’t really libraries that help you
6 with the syntax or the technology of animations, but rather are
7 grab-and-use as-is libraries. Want to apply a class like
8 “animate-flip-up” and watch an element, uhhh, flip up? These are
9 the kind of libraries to look at.
10
11 1. Animista (personal favourite)
12 2. Animate.css
13 3. Tachyons
14 4. Infinite
15 5. Motion UI
16 6. Micron
17 7. Vivify
18 9. Hover.css
19 10. AllAnimationCss3
20 11. Magic Animations CSS3
21 12. It's Tuesday
22 13. CHS
23 14. ReboundGen
24 15. CSShake
25 16. Motion CSS
26 17. cssanimation.io
27 18. WickedCSS
28 19. Woah.css
29 20. Obnoxious.css
30 21. Hexa
31 22. Mimic.css
32
33 For more information and direct links to the website of these
34 libraries, go to:
35 https://css-tricks.com/css-animation-libraries/
36*/
1<!DOCTYPE html>
2<html>
3<head>
4<style>
5div {
6 width: 100px;
7 height: 100px;
8 background-color: red;
9 position: relative;
10 animation: myfirst 5s linear 2s infinite alternate;
11}
12@keyframes myfirst {
13 0% {background-color:red; left:0px; top:0px;}
14 25% {background-color:yellow; left:200px; top:0px;}
15 50% {background-color:blue; left:200px; top:200px;}
16 75% {background-color:green; left:0px; top:200px;}
17 100% {background-color:red; left:0px; top:0px;}
18}
19</style>
20</head>
21<body>
22
23<p><b>Note:</b> This example does not work in Internet Explorer 9 and earlier versions.</p>
24
25<div><p>you can add text in this box or anithing else like a pictrue</p></div>
26
27</body>
28</html>