Is it semantically correct to use it as an FAQ or should the markup be different on such cases?
I'd say so, yeah! The says W3C spec says that "The rest of the element’s contents represents the additional information or controls."
A FAQ answer seems like additional information in my book.
Can you apply CSS animations?
Hmm... To a degree, but animating display and height is particularly tricky. I've found some examples but none particularly good. I'll give it a try and update the article if I find a way to do it 🙂
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Giorgos, great questions.
I'd say so, yeah! The says W3C spec says that "The rest of the element’s contents represents the additional information or controls."
A FAQ answer seems like additional information in my book.
Hmm... To a degree, but animating
display
andheight
is particularly tricky. I've found some examples but none particularly good. I'll give it a try and update the article if I find a way to do it 🙂