minor fixes
This commit is contained in:
parent
e9d2a31796
commit
a0af69e813
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ The CSS `transition` is based on that curve:
|
|||
.train {
|
||||
left: 0;
|
||||
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 {
|
||||
left: 0;
|
||||
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 */
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue