minor fixes

This commit is contained in:
Ilya Kantor 2021-06-26 20:26:32 +03:00
parent e9d2a31796
commit a0af69e813

View file

@ -168,7 +168,7 @@ The CSS `transition` is based on that curve:
.train { .train {
left: 0; left: 0;
transition: left 5s cubic-bezier(0, 0, 1, 1); transition: left 5s cubic-bezier(0, 0, 1, 1);
/* onlick on a train sets left to 450px */ /* click on a train sets left to 450px, thus triggering the animation */
} }
``` ```
@ -191,7 +191,7 @@ CSS:
.train { .train {
left: 0; left: 0;
transition: left 5s cubic-bezier(0, .5, .5, 1); transition: left 5s cubic-bezier(0, .5, .5, 1);
/* JavaScript sets left to 450px */ /* click on a train sets left to 450px, thus triggering the animation */
} }
``` ```