Update style.css
Browse files
style.css
CHANGED
@@ -138,27 +138,23 @@ body {
|
|
138 |
|
139 |
/* Swap Button */
|
140 |
#swap-btn {
|
141 |
-
|
142 |
-
color: white;
|
143 |
cursor: pointer;
|
144 |
-
border-radius: 50%;
|
145 |
-
border:
|
146 |
-
font-size: 30px; /*
|
147 |
height: 70px; /* Ukuran lebih besar */
|
148 |
width: 70px; /* Ukuran lebih besar */
|
149 |
display: flex;
|
150 |
justify-content: center;
|
151 |
align-items: center;
|
152 |
margin: 30px auto;
|
153 |
-
transition: background-color 0.3s ease, transform 0.3s ease;
|
154 |
-
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Tambahkan bayangan */
|
155 |
font-weight: bold;
|
|
|
156 |
}
|
157 |
|
158 |
#swap-btn:hover {
|
159 |
-
|
160 |
-
transform: rotate(180deg);
|
161 |
-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Efek bayangan lebih kuat saat hover */
|
162 |
}
|
163 |
|
164 |
/* Mode Mobile */
|
|
|
138 |
|
139 |
/* Swap Button */
|
140 |
#swap-btn {
|
141 |
+
color: #000; /* Warna hitam untuk simbol swap */
|
|
|
142 |
cursor: pointer;
|
143 |
+
border-radius: 50%; /* Membuat tombol swap berbentuk bulat */
|
144 |
+
border: 2px solid #000; /* Border hitam untuk tombol */
|
145 |
+
font-size: 30px; /* Ukuran lebih besar untuk tampilan web */
|
146 |
height: 70px; /* Ukuran lebih besar */
|
147 |
width: 70px; /* Ukuran lebih besar */
|
148 |
display: flex;
|
149 |
justify-content: center;
|
150 |
align-items: center;
|
151 |
margin: 30px auto;
|
|
|
|
|
152 |
font-weight: bold;
|
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 */
|