Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added transition effects in faq section #718

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -964,10 +964,12 @@ <h2 class="accordion-header" id="headingSix">
background: #fff; /* Background for each FAQ item */
transition: background 0.3s ease; /* Smooth background transition */
position: relative; /* Position relative for arrow */
transition: transform 0.3s ease;
}

.faq-item:hover {
background: #f1f1f1; /* Background color on hover */
transform: scale(1.05);
}

.faq-question {
Expand Down Expand Up @@ -1024,7 +1026,7 @@ <h2 style="display: flex; justify-content: center; align-items: center; margin-t
</svg>
</span>
</div>
<div class="faq-answer">Our return policy lasts 30 days...</div>
<div class="faq-answer">Our return policy lasts 30 days.</div>
</div>
<div class="faq-item" style="background-color: #f5c0bb;">
<div class="faq-question">
Expand All @@ -1035,7 +1037,7 @@ <h2 style="display: flex; justify-content: center; align-items: center; margin-t
</svg>
</span>
</div>
<div class="faq-answer">You can track your order using the tracking number...</div>
<div class="faq-answer">You can track your order using the tracking number.</div>
</div>
<div class="faq-item" style="background-color: #f5dddb;">
<div class="faq-question">
Expand Down