-->

FAQ Blog Question Answer CSS Html

नवीन कुमार झा
0

FAQ

Q-1. What is this FAQ page about?

This is a sample FAQ page that demonstrates how to create an accordion-style FAQ using HTML and CSS.

Q-2. How does the expand/collapse effect work?

The expand/collapse effect is achieved using a combination of CSS transitions and transformations. When the faq-icon is clicked, it is given a "rotate" class which causes it to rotate by 90 degrees using a CSS transform. The faq content is also given a "max-height" value, which is set to 0 by default and is transitioned to a larger value when the faq-icon is clicked. This creates the accordion-style expand/collapse effect.

एक टिप्पणी भेजें

0टिप्पणियाँ
एक टिप्पणी भेजें (0)