Skip to content

Commit 18689e2

Browse files
Fix README
1 parent 936ea85 commit 18689e2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ Other solutions did not go well, so I decided to write my own (of course, I did)
2626

2727
2. ## Use native CSS animations
2828
```javascript
29-
const plugin = new TheSupersonicPlugin({
30-
drivers: {
31-
hooray: {
32-
start: document.querySelector('.start') // When this element will appear on the screen animation will start,
33-
end: document.querySelector('.end') // When this element will appear on the screen animation will end,
34-
elements: ['.animatable'] // List of elements with CSS animations
35-
},
29+
const plugin = new TheSupersonicPlugin({
30+
drivers: {
31+
hooray: {
32+
start: document.querySelector('.start') // When this element will appear on the screen animation will start,
33+
end: document.querySelector('.end') // When this element will appear on the screen animation will end,
34+
elements: ['.animatable'] // List of elements with CSS animations
3635
},
37-
});
36+
},
37+
});
3838
```
3939
```css
4040
.animatable {

0 commit comments

Comments
 (0)