SAE_S1.05_S1.06/css/faq.css

39 lines
588 B
CSS
Raw Normal View History

2024-01-16 00:23:27 +01:00
.faq-section {
max-width: 800px;
margin: 0 auto;
}
.faq-item {
margin-bottom: 20px;
}
.faq-question-btn {
background-color: #FFB039;
color: white;
padding: 10px;
border: none;
border-radius: 5px;
cursor: pointer;
width: 100%;
text-align: left;
font-size: large;
}
.faq-answer {
display: none;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
margin-top: 10px;
}
.faq-answer p {
margin: 0;
}
.faq-item.active .faq-question-btn {
background-color: #4A305A;
}