-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
92 lines (80 loc) · 1.44 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(135deg, #1e3c72, #2a5298);
color: #fff;
}
.container {
background: rgba(255, 255, 255, 0.1);
padding: 20px;
border-radius: 12px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
text-align: center;
width: 350px;
backdrop-filter: blur(10px);
}
h2 {
margin-bottom: 15px;
font-size: 22px;
}
.input-group, .currency-group {
margin-bottom: 15px;
}
input, select {
width: 100%;
padding: 10px;
margin-top: 5px;
border: none;
border-radius: 6px;
font-size: 16px;
}
button {
width: 100%;
padding: 12px;
font-size: 16px;
background: #ff9800;
border: none;
cursor: pointer;
border-radius: 6px;
font-weight: bold;
color: #fff;
transition: 0.3s;
}
button:hover {
background: #e68900;
}
#swap {
background: transparent;
font-size: 20px;
border: none;
cursor: pointer;
color: #fff;
transition: 0.3s;
}
#swap:hover {
transform: rotate(180deg);
}
.result {
margin-top: 10px;
}
#result {
text-align: center;
font-size: 18px;
background: rgba(255, 255, 255, 0.2);
border: none;
color: #fff;
font-weight: bold;
}
@media (max-width: 400px) {
.container {
width: 90%;
}
}