Spaces:
Running
Running
File size: 1,383 Bytes
50e8e86 |
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 |
.dropdown-section__container {
border: 1px solid rgb(245, 245, 245);
border-radius: 15px;
padding: 50px;
display: flex;
justify-content: center;
flex-direction: column;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.dropdown__row {
display: flex;
flex-direction: column;
flex-wrap: wrap;
gap: 10px;
}
.dropdown {
width: 100%;
position: relative;
flex: 1 1 30%;
min-width: 200px;
transition: flex 5.3s ease;
}
.dropdown__button {
width: 100%;
padding: 10px 15px;
background-color: #0b6efd;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
text-align: left;
transition: background-color 0.2s ease;
}
.dropdown__button:hover {
background-color: #0353c4;
}
.dropdown__content {
display: none;
top: 100%;
left: 0;
right: 0;
background-color: white;
z-index: 1000;
border-radius: 4px;
overflow: hidden;
margin-top: 4px;
animation: fadeIn 0.5s ease forwards;
}
.dropdown.open .dropdown__content {
display: block;
}
.dropdown__item {
white-space: normal;
word-wrap: break-word;
text-align: left;
padding: 10px 16px;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(-5px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 600px) {
.dropdown-section__container {
padding: 20px;
}
}
|