-
Notifications
You must be signed in to change notification settings - Fork 1
/
particles.css
47 lines (42 loc) · 869 Bytes
/
particles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
.particles {
position: relative;
grid-area: 1 / 1 / 2 / 2;
}
.particles-canvas {
position: absolute;
pointer-events: none;
top: 50%;
left: 50%;
transform: translate3d(-50%,-50%,0);
}
.particles-wrapper {
position: relative;
display: inline-block;
overflow: hidden;
will-change: transform;
}
.particles-button {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
position: relative;
border-radius: 5px;
border-radius: var(--radius-button);
background: var(--color-button-bg);
color: var(--color-button-text);
border: 0;
border: var(--border-button);
margin: 0;
padding: 1.5rem 3rem;
padding: var(--button-padding);
will-change: transform;
}
.particles-button:focus {
outline: none;
}
.no-js .particles-button {
grid-area: 1 / 1 / 2 / 2;
}