Skip to content

Commit

Permalink
Update: faq section
Browse files Browse the repository at this point in the history
Added fadein in the faq section and improved the responsivity
  • Loading branch information
Jasleen1210 committed Aug 9, 2024
1 parent 89cb43c commit 2de7c62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions assets/css/faq.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

.faq-section {
max-width: 800px;
margin: 50px auto;
padding: 20px;
max-width: 80vw;
margin: 7rem auto;
padding: 3rem 1.2rem;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
border-radius: 5px;
Expand Down Expand Up @@ -44,7 +44,7 @@
}

.faq-answer {
max-height: 0; /* Start with zero height */
/* max-height: 0; Start with zero height */
opacity: 0; /* Start as invisible */
padding: 0; /* Start with no padding */
overflow: hidden;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ <h2 class="form-heading2">Feedback Form</h2>


<!-- FAQ section -->
<section class="faq-section">
<section class="faq-section wow fadeIn" data-wow-duration="1s" data-wow-delay="0.3s">
<h2>Frequently Asked Questions</h2>
<div class="faq-item">
<button class="faq-question">
Expand Down

0 comments on commit 2de7c62

Please sign in to comment.