Prikazi cijelu temu 07.10.2020 19:23
zxz Van mreze
Administrator
Registrovan od:03.02.2009
Lokacija:Tuzla


Predmet:Animacija
PreuzmiIzvorni kôd (HTML):
  1. <!DOCTYPE>
  2. <style type="text/css">
  3. div
  4. {
  5. width:50px;
  6. height:50px;
  7. background:green;
  8. position:relative;
  9. animation:animacija 15s;
  10. }
  11. @keyframes animacija
  12. {
  13. 0% {background:green; left:2px; top:2px;}
  14. 25% {background:yellow; left:300px; top:2px;}
  15. 50% {background:blue; left:300px; top:300px;}
  16. 75% {background:green; left:2px; top:300px;}
  17. 100% {background:red; left:2px; top:2px;}
  18. }
  19. </head>
  20. <div></div>
  21. animacija
  22. </body>
  23. </html>

Podrška samo putem foruma, jer samo tako i ostali imaju koristi od toga.