Skip to content

Commit 78b8193

Browse files
.
1 parent 88b6a4d commit 78b8193

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

example/src/demos.js

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default [
22
{
33
background: 'linear-gradient(120deg, #a8edea 0%, #fed6e3 100%)',
44
text: 'Send',
5+
duration: 2000,
56
buttonStyles: {
67
background: '#121019',
78
color: '#fff'

src/styles.css

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.particles {
2-
position: relative;
2+
position: relative;
33
display: inline-block;
44
}
55

@@ -15,9 +15,9 @@
1515
}
1616

1717
.canvas {
18-
position: absolute;
19-
top: 50%;
20-
left: 50%;
21-
transform: translate3d(-50%, -50%, 0);
22-
pointer-events: none;
18+
position: absolute;
19+
top: 50%;
20+
left: 50%;
21+
transform: translate3d(-50%, -50%, 0);
22+
pointer-events: none;
2323
}

0 commit comments

Comments
 (0)