-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
115 lines (102 loc) · 2.12 KB
/
style.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
*, ::before, ::after {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
height: 100vh;
background: linear-gradient(120deg, #FFD143FF, #FF9153FF);
font-size: 12px;
font-family: Montserrat, sans-serif;
}
.toast_copy {
display: none;
position: absolute;
background: #ffffff;
width: 400px;
left: 50%;
top: 2%;
transform: translateX(-50%);
padding: 20px;
border-radius: 5px;
box-shadow: 10px 10px 14px 1px rgb(0 0 0 / 20%);
font-size: 1.3em;
text-align: center;
opacity: 0;
transition: opacity 0.2s ease-in;
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.input_group {
outline: 2px solid #fff;
box-shadow: 10px 10px 14px 1px rgb(0 0 0 / 20%);
margin: 30px auto;
border-radius: 999px;
text-align: center;
width: 350px;
display: flex;
position: relative;
}
.input_group label {
display: block;
width: 100%;
height: 100%;
cursor: pointer;
padding: 20px;
border-radius: 999px;
font-weight: 600;
font-size: 1.5em;
}
.input_group:first-child {
background: #FFD143FF;
}
.input_group:nth-child(2) {
background: #FF9153FF;
}
input[type="color"] {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
visibility: hidden;
}
.range_group label {
background: #ffffff;
border-radius: 5px;
padding: 15px;
font-size: 1.2em;
font-weight: 600;
display: block;
box-shadow: 10px 10px 14px 1px rgb(0 0 0 / 20%);
text-align: center;
width: 200px;
margin: 30px auto;
}
.range_group .range_gradient {
width: 100%;
}
.button_group {
margin: 30px auto;
display: flex;
justify-content: center;
}
.button_group button {
padding: 20px;
margin: auto 10px;
border: none;
border-radius: 999px;
width: 150px;
background: #fff;
box-shadow: 10px 10px 14px 1px rgb(0 0 0 / 20%);
font-size: 1.3em;
font-weight: 900;
cursor: pointer;
transition: transform 0.2s ease;
}
.button_group button:hover {
transform: translateY(-5px);
}