-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
86 lines (74 loc) · 1.21 KB
/
style.css
File metadata and controls
86 lines (74 loc) · 1.21 KB
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
body {
font-family: Arial, sans-serif;
background: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
width: 90%;
max-width: 500px;
margin: 60px auto;
padding: 25px;
background: white;
border-radius: 10px;
text-align: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.dropdown {
display: flex;
gap: 1.5rem;
justify-content: center;
align-items: center;
flex-wrap: wrap; /* Important for mobile */
}
#amount {
width: 100%;
padding: 10px;
outline: none;
border: 2px solid lightgray;
font-size: 18px;
border-radius: 5px;
box-sizing: border-box;
}
select {
width: 70px;
height: 35px;
font-size: 1rem;
}
#convertBtn {
background-color: aliceblue;
width: 100%;
max-width: 250px;
height: 40px;
font-size: 18px;
margin-top: 30px;
cursor: pointer;
border-radius: 5px;
border: none;
transition: 0.3s;
}
#convertBtn:hover {
background-color: lightblue;
}
/* 📱 Mobile Responsive */
@media (max-width: 480px) {
.container {
width: 95%;
margin: 30px auto;
padding: 15px;
}
#amount {
font-size: 16px;
}
.dropdown {
gap: 1rem;
}
select {
width: 60px;
height: 30px;
}
#convertBtn {
font-size: 16px;
height: 38px;
}
}