Update style.css
Browse files
style.css
CHANGED
@@ -153,51 +153,17 @@ body {
|
|
153 |
transition: transform 0.3s ease; /* Menghapus background dan efek hover */
|
154 |
}
|
155 |
|
156 |
-
#swap-btn:hover {
|
157 |
-
transform: rotate(180deg); /* Rotasi saat hover */
|
158 |
-
}
|
159 |
-
|
160 |
-
/* Mode Mobile */
|
161 |
-
@media screen and (max-width: 768px) {
|
162 |
-
.currency-select {
|
163 |
-
flex-direction: column;
|
164 |
-
justify-content: center;
|
165 |
-
align-items: center;
|
166 |
-
gap: 15px;
|
167 |
-
}
|
168 |
-
|
169 |
-
#swap-btn {
|
170 |
-
transform: rotate(90deg); /* Rotasi tombol swap */
|
171 |
-
width: 60px;
|
172 |
-
height: 60px;
|
173 |
-
margin: 0;
|
174 |
-
}
|
175 |
-
|
176 |
-
.currency-group {
|
177 |
-
display: flex;
|
178 |
-
flex-direction: column;
|
179 |
-
align-items: center;
|
180 |
-
}
|
181 |
-
}
|
182 |
-
|
183 |
/* Mode Web dan Tablet */
|
184 |
@media screen and (min-width: 769px) {
|
185 |
-
.currency-select {
|
186 |
-
flex-direction: row;
|
187 |
-
align-items: center;
|
188 |
-
gap: 25px;
|
189 |
-
}
|
190 |
-
|
191 |
#swap-btn {
|
192 |
-
transform: rotate(
|
193 |
-
width: 70px; /* Ukuran lebih besar */
|
194 |
-
height: 70px; /* Ukuran lebih besar */
|
195 |
}
|
|
|
196 |
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
}
|
202 |
}
|
203 |
|
|
|
153 |
transition: transform 0.3s ease; /* Menghapus background dan efek hover */
|
154 |
}
|
155 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
156 |
/* Mode Web dan Tablet */
|
157 |
@media screen and (min-width: 769px) {
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
#swap-btn {
|
159 |
+
transform: rotate(180deg); /* Rotasi horizontal saat tampilan desktop */
|
|
|
|
|
160 |
}
|
161 |
+
}
|
162 |
|
163 |
+
/* Mode Mobile */
|
164 |
+
@media screen and (max-width: 768px) {
|
165 |
+
#swap-btn {
|
166 |
+
transform: rotate(0deg); /* Tidak ada rotasi pada tampilan mobile */
|
167 |
}
|
168 |
}
|
169 |
|