Skip to content

Commit a0af69e

Browse files
committedJun 26, 2021
minor fixes
1 parent e9d2a31 commit a0af69e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎7-animation/2-css-animations/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The CSS `transition` is based on that curve:
168168
.train {
169169
left: 0;
170170
transition: left 5s cubic-bezier(0, 0, 1, 1);
171-
/* onlick on a train sets left to 450px */
171+
/* click on a train sets left to 450px, thus triggering the animation */
172172
}
173173
```
174174

@@ -191,7 +191,7 @@ CSS:
191191
.train {
192192
left: 0;
193193
transition: left 5s cubic-bezier(0, .5, .5, 1);
194-
/* JavaScript sets left to 450px */
194+
/* click on a train sets left to 450px, thus triggering the animation */
195195
}
196196
```
197197

0 commit comments

Comments
 (0)
Failed to load comments.