Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta http-equiv="X-UA-Compatible" content="ie=edge">
  7. <title>KOCKE</title>
  8. </head>
  9. <body>
  10. <html>
  11. <head>
  12. <!DOCTYPE html>
  13. <head>
  14. <meta charset="utf-8">
  15. <title> Lopta koja skace </title>
  16. <style>
  17. #kocke {
  18. position:relative;
  19. width:530px;
  20. height:530px;
  21. margin:0 auto 10px;
  22. border:1px black solid;
  23. padding:10px;
  24. background: #00f
  25. }
  26. .kutija {
  27. font-size:12px;
  28. position:relative;
  29. width:60px;
  30. height:60px;
  31. margin-bottom:10px;
  32. background-color:transparent;
  33. }
  34. .kutija p {
  35. text-align:center;
  36. padding-top:4px;
  37. }
  38. #ease.kutija {
  39. -webkit-transition: all 4s ease; border:1px #f00 solid;
  40. }
  41. #ease-in.kutija {
  42. -webkit-transition: all 4s ease-in; border:1px #0f0 solid;
  43. }
  44. #ease-out.kutija {
  45. -webkit-transition: all 4s ease-out; border:1px #00f solid;
  46. }
  47. #ease-in-out.kutija {
  48. -webkit-transition: all 4s ease-in-out; border:1px #ff0 solid;
  49. }
  50. #linear.kutija {
  51. -webkit-transition: all 4s linear; border:1px #f0f solid;
  52. }
  53. #custom.kutija {
  54. -webkit-transition: all 4s cubic-bezier(1.0, -0.5, 0.5, 1);border:1px #0ff solid;
  55.  
  56. }
  57. #kocke:hover .kutija, #kocke.hover_effect .kutija {
  58. border-radius:30px;
  59. -webkit-transform: rotate(720deg); margin-left:420px;
  60. background-color:#fff;
  61. }
  62. </style>
  63. </head>
  64. <body>
  65. <div id="kocke" class="efekat hover">
  66. <div id="ease" class="kutija"><p>Ease</p></div>
  67. <div id="ease-in" class="kutija"><p>Ease<br>In</p></div>
  68. <div id="ease-out" class="kutija"><p>Ease<br>Out</p></div>
  69. <div id="linear" class="kutija"><p>Linear</p></div>
  70. <div id="ease-in-out" class="kutija"><p>Ease<br>In Out</p></div>
  71. <div id="custom" class="kutija"><p>1.0,-0.5<br>0.5, 1</p></div>
  72.  
  73. </div>
  74. </div>
  75. </body>
  76. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement