Faq Template 4

  • Date: December 11, 2023
  • Developed By: Alister Carvalho

FAQ Template 4

So, as usual, I tried to make the clone as easy as possible to be copied . Just copy the element named, 'Cloneable Area ' and rename it or you can copy all the elements within that class.
Both question and answer are placed within the same row and container for easier management.

Main Interactions for expand and collapse that create the animation for expand and collapse. It is targeting the main container of each row, so that user can click on anywhere within the row/container to expand or collapse an item.

Using the same interaction trigger as above, I created an animation to rotate and resize the icon to shape it from a plus to minus.

To make things a little livelier, I added a nice little touch up to the paragraph by creating a slide in animation from below. So, instead of being still upon expand, it will slide in from below nicely.

I added a focus/highlight effect to make the item that's on hover stands out from the rest. This helps the user to focus on the item that they are reading.
This is definitely optional. You can remove this animation from the interaction setting. It's a separate interaction from the expand/collapse.

>View Source

HTML

CSS

JS