-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
102 lines (90 loc) · 1.76 KB
/
styles.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
body {
font-family: 'Poppins', sans-serif;
background-color: #141414;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
color: #f0f0f0;
transition: background-color 0.5s ease;
}
.container {
background-color: #17181c;
padding: 30px;
border-radius: 15px;
box-shadow: 0 0 20px rgb(3, 194, 0, 0.2);
width: 400px;
text-align: center;
}
h1 {
color: #50fa7b;
margin-bottom: 20px;
}
.input-group {
margin-bottom: 15px;
}
.input-group label {
display: block;
margin-bottom: 5px;
color: #9958f3;
text-align: left;
}
.input-group input,
.input-group select {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #303240;
color: #f0f0f0;
box-sizing: border-box;
transition: background-color 0.3s ease;
}
.input-group input:focus,
.input-group select:focus {
background-color: #394056;
}
button {
font-family: 'Poppins', sans-serif;
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
background-color: #50fa7b;
color: #282a36;
cursor: pointer;
font-size: 18px;
transition: background-color 0.3s ease, transform 0.2s ease;
position: relative;
outline: none;
}
button:hover {
background-color: #48ea71;
transform: scale(1.03);
}
button:active {
background-color: #38c261;
transform: scale(1);
}
.result {
margin-top: 20px;
padding: 15px;
border: 1px solid #6e40b0;
border-radius: 10px;
background-color: #282a36;
}
.color-display {
width: 100%;
height: 50px;
border-radius: 5px;
margin-bottom: 15px;
background-color: #2b2d36;
transition: background-color 0.3s ease, opacity 0.5s ease, transform 0.5s ease;
opacity: 0;
transform: scale(0.9);
}
.color-display.show {
opacity: 1;
transform: scale(1);
}