This commit is contained in:
Ilya Kantor 2017-03-22 11:50:05 +03:00
parent aa521b9090
commit d1a0659aba
13 changed files with 27 additions and 33 deletions

View file

@ -13,7 +13,7 @@
<script>
boat.onclick = function() {
this.onclick = null; // только первый клик сработает
this.onclick = null; // only the first click should start the animation
let times = 1;
@ -40,4 +40,4 @@
</body>
</html>
</html>

View file

@ -3,11 +3,9 @@
cursor: pointer;
transition: margin-left 3s ease-in-out;
}
/* переворот картинки через CSS */
/* flipping the picture with CSS */
.back {
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: fliph;
/* IE9- */
}
}