up
This commit is contained in:
parent
aa521b9090
commit
d1a0659aba
13 changed files with 27 additions and 33 deletions
|
@ -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>
|
||||
|
|
|
@ -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- */
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue