-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
54 lines (47 loc) · 784 Bytes
/
index.css
File metadata and controls
54 lines (47 loc) · 784 Bytes
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
html,
body {
padding: 0;
margin: 0;
background: #1e272e;
}
body {
width: 100%;
height: 50%;
margin: 10px 0;
text-align: center;
}
section:not(#menu) {
display: none;
}
canvas {
margin: 20px;
}
@property --start {
syntax: '<color>';
inherits: false;
}
@property --end {
syntax: '<color>';
inherits: false;
}
button {
--start: #e052a0;
--end: #f15c41;
display: inline-block;
outline: none;
cursor: pointer;
font-weight: 600;
border-radius: 16px;
padding: 12px 24px;
border: 0;
color: #000021;
background: linear-gradient(to right, var(--start), var(--end));
line-height: 1.15;
font-size: 16px;
transition: --start .5s, --end .5s, all .25s ease;
}
button:hover {
--start: #3ec7e0;
--end: #526bf4;
border-radius: 32px;
}