-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscss.css
63 lines (54 loc) · 993 Bytes
/
scss.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
:root {
--bg: #1a1e24;
--color: #eee;
--font: Montserrat, Roboto, Helvetica, Arial, sans-serif;
}
.wrapper {
padding: 1.5rem 0;
filter: url("#goo");
}
.wrapper a {
text-decoration: none;
}
.button {
display: inline-block;
text-align: center;
background: var(--color);
color: var(--bg);
font-weight: bold;
padding: 1.18em 1.32em 1.03em;
line-height: 1;
border-radius: 1em;
position: relative;
min-width: 8.23em;
text-decoration: none;
font-family: var(--font);
font-size: 1.25rem;
}
.button:before,
.button:after {
width: 4.4em;
height: 2.95em;
position: absolute;
content: "";
display: inline-block;
background: var(--color);
border-radius: 50%;
transition: transform 1s ease;
transform: scale(0);
z-index: -1;
}
.button:before {
top: -25%;
left: 20%;
}
.button:after {
bottom: -25%;
right: 20%;
}
.button:hover:before,
.button:hover:after {
transform: none;
}
/* Demo styles */
/*# sourceMappingURL=scss.css.map */