-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathboutton.css
241 lines (222 loc) · 7.86 KB
/
boutton.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
html,
body {
margin: 10;
padding: 0;
width: 100%;
height: 100vh;
display: block;
flex-direction: row;
justify-content: center;
align-items: center;
background: hsl(0, 0%, 0%);
}
html::before,
html::after,
body::before,
body::after {
content: "";
position: absolute;
top: 0;
left: 0;
display: block;
width: .5vmin;
height: .5vmin;
border-radius: 50%;
color: transparent;
}
html::before {
box-shadow: 93vw 63vh .3vmin rgba(255,255,255,.8),
3vw 17vh .3vmin rgba(255,255,255,.8),
28vw 85vh .3vmin rgba(255,255,255,.8),
97vw 82vh .3vmin rgba(255,255,255,.8),
55vw 83vh .3vmin rgba(255,255,255,.8),
74vw 72vh .3vmin rgba(255,255,255,.8),
84vw 11vh .3vmin rgba(255,255,255,.8),
32vw 6vh .3vmin rgba(255,255,255,.8),
45vw 92vh .3vmin rgba(255,255,255,.8),
98vw 57vh .3vmin rgba(255,255,255,.8),
63vw 98vh .3vmin rgba(255,255,255,.8),
90vw 46vh .3vmin rgba(255,255,255,.8),
50vw 86vh .3vmin rgba(255,255,255,.8),
38vw 21vh .3vmin rgba(255,255,255,.8),
74vw 2vh .3vmin rgba(255,255,255,.8),
89vw 22vh .3vmin rgba(255,255,255,.8),
39vw 0vh .3vmin rgba(255,255,255,.8),
25vw 89vh .3vmin rgba(255,255,255,.8),
54vw 58vh .3vmin rgba(255,255,255,.8),
81vw 39vh .3vmin rgba(255,255,255,.8),
51vw 8vh .3vmin rgba(255,255,255,.8),
24vw 56vh .3vmin rgba(255,255,255,.8),
50vw 23vh .3vmin rgba(255,255,255,.8),
62vw 34vh .3vmin rgba(255,255,255,.8),
10vw 77vh .3vmin rgba(255,255,255,.8),
92vw 45vh .3vmin rgba(255,255,255,.8),
70vw 40vh .3vmin rgba(255,255,255,.8),
2vw 53vh .3vmin rgba(255,255,255,.8),
3vw 54vh .3vmin rgba(255,255,255,.8),
18vw 21vh .3vmin rgba(255,255,255,.8),
48vw 47vh .3vmin rgba(255,255,255,.8),
83vw 96vh .3vmin rgba(255,255,255,.8),
26vw 32vh .3vmin rgba(255,255,255,.8),
46vw 9vh .3vmin rgba(255,255,255,.8),
2vw 13vh .3vmin rgba(255,255,255,.8),
29vw 63vh .3vmin rgba(255,255,255,.8),
17vw 90vh .3vmin rgba(255,255,255,.8),
78vw 9vh .3vmin rgba(255,255,255,.8),
15vw 39vh .3vmin rgba(255,255,255,.8),
90vw 5vh .3vmin rgba(255,255,255,.8);
}
html::after {
box-shadow: 67vw 35vh .2vmin .1vmin rgba(255,200,200,.8),
89vw 13vh .2vmin .1vmin rgba(255,200,200,.8),
77vw 62vh .2vmin .1vmin rgba(255,200,200,.8),
1vw 74vh .2vmin .1vmin rgba(255,200,200,.8),
38vw 15vh .2vmin .1vmin rgba(255,200,200,.8),
79vw 10vh .2vmin .1vmin rgba(255,200,200,.8),
16vw 47vh .2vmin .1vmin rgba(255,200,200,.8),
74vw 71vh .2vmin .1vmin rgba(255,200,200,.8),
30vw 96vh .2vmin .1vmin rgba(255,200,200,.8),
13vw 98vh .2vmin .1vmin rgba(255,200,200,.8),
9vw 40vh .2vmin .1vmin rgba(255,200,200,.8),
9vw 71vh .2vmin .1vmin rgba(255,200,200,.8),
12vw 93vh .2vmin .1vmin rgba(255,200,200,.8),
91vw 26vh .2vmin .1vmin rgba(255,200,200,.8),
73vw 48vh .2vmin .1vmin rgba(255,200,200,.8),
61vw 46vh .2vmin .1vmin rgba(255,200,200,.8),
20vw 3vh .2vmin .1vmin rgba(255,200,200,.8),
90vw 59vh .2vmin .1vmin rgba(255,200,200,.8),
48vw 72vh .2vmin .1vmin rgba(255,200,200,.8),
91vw 68vh .2vmin .1vmin rgba(255,200,200,.8);
}
body::before {
box-shadow: 30vw 90vh .2vmin rgba(190,200,255,.9),
93vw 64vh .2vmin rgba(190,200,255,.9),
75vw 80vh .2vmin rgba(190,200,255,.9),
37vw 24vh .2vmin rgba(190,200,255,.9),
83vw 58vh .2vmin rgba(190,200,255,.9),
12vw 36vh .2vmin rgba(190,200,255,.9),
62vw 82vh .2vmin rgba(190,200,255,.9),
87vw 91vh .2vmin rgba(190,200,255,.9),
9vw 2vh .2vmin rgba(190,200,255,.9),
99vw 46vh .2vmin rgba(190,200,255,.9),
39vw 86vh .2vmin rgba(190,200,255,.9),
48vw 42vh .2vmin rgba(190,200,255,.9),
53vw 24vh .2vmin rgba(190,200,255,.9),
63vw 42vh .2vmin rgba(190,200,255,.9),
2vw 53vh .2vmin rgba(190,200,255,.9),
67vw 11vh .2vmin rgba(190,200,255,.9),
32vw 44vh .2vmin rgba(190,200,255,.9),
0vw 82vh .2vmin rgba(190,200,255,.9),
51vw 47vh .2vmin rgba(190,200,255,.9),
74vw 30vh .2vmin rgba(190,200,255,.9);
}
body::after {
box-shadow: 80vw 64vh .1vmin rgba(200,255,230,.7),
32vw 45vh .1vmin rgba(200,255,230,.7),
65vw 62vh .1vmin rgba(200,255,230,.7),
22vw 55vh .1vmin rgba(200,255,230,.7),
68vw 19vh .1vmin rgba(200,255,230,.7),
54vw 34vh .1vmin rgba(200,255,230,.7),
1vw 56vh .1vmin rgba(200,255,230,.7),
95vw 1vh .1vmin rgba(200,255,230,.7),
60vw 93vh .1vmin rgba(200,255,230,.7),
14vw 82vh .1vmin rgba(200,255,230,.7),
6vw 64vh .1vmin rgba(200,255,230,.7),
19vw 12vh .1vmin rgba(200,255,230,.7),
25vw 39vh .1vmin rgba(200,255,230,.7),
21vw 36vh .1vmin rgba(200,255,230,.7),
4vw 10vh .1vmin rgba(200,255,230,.7),
85vw 70vh .1vmin rgba(200,255,230,.7),
54vw 93vh .1vmin rgba(200,255,230,.7),
9vw 46vh .1vmin rgba(200,255,230,.7),
63vw 59vh .1vmin rgba(200,255,230,.7),
48vw 28vh .1vmin rgba(200,255,230,.7);
}
.glow-on-hover {
width: 220px;
height: 50px;
border: none;
outline: none;
color: #fff;
background: #111;
cursor: pointer;
position: relative;
z-index: 0;
border-radius: 10px;
}
.glow-on-hover:before {
content: '';
background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
position: absolute;
top: -2px;
left:-2px;
background-size: 400%;
z-index: -1;
filter: blur(5px);
width: calc(100% + 4px);
height: calc(100% + 4px);
animation: glowing 20s linear infinite;
opacity: 0;
transition: opacity .3s ease-in-out;
border-radius: 10px;
}
.glow-on-hover:active {
color: #000
}
.glow-on-hover:active:after {
background: transparent;
}
.glow-on-hover:hover:before {
opacity: 1;
}
.glow-on-hover:after {
z-index: -1;
content: '';
position: absolute;
width: 100%;
height: 100%;
background: #111;
left: 0;
top: 0;
border-radius: 10px;
}
@keyframes glowing {
0% { background-position: 0 0; }
50% { background-position: 400% 0; }
100% { background-position: 0 0; }
}
h1 {
font-family: 'Star Wars', sans-serif;
position: fixed;
top: 50px;
font-size: 100px;
margin-top: 0;
padding: 10px;
text-shadow:#ffae00 2.5px 2.5px 0,
#ff00c0 5px 5px 0,
#aa0306 7.5px 7.5px 0,
#333 10.5px 10.5px 10px;color:#FFDB57;
}
h2 {
Font-family: 'Space Grotesk', sans-serif;
text-align: center;
position: fixed;
top: 225px;
font-size: 25px;
margin-top: 0;
padding: 10px;
text-shadow:0 0 3px #D000FE, 0 0 10px #D000FE, 0 0 20px #D000FE;color:#D000FE;
}
h3 {
Font-family: 'Space Grotesk', sans-serif;
position: fixed;
bottom: 1px;
left: 1px;
margin-bottom: 0;
padding: 10px;
text-shadow: -1px -1px 0 #fff,
1px -1px 0 #fff,
-1px 1px 0 #fff,
1px 1px 0 #fff,
1px 1px 10px #141414;color:#333;
}