Animate Element when Expanding or Collapsing Element when Expanding or Collapsing

from blog linkedlist, | ↗ original
The details and summary elements can be used for disclosure and accordion widgets. They are standard HTML elements and collapse or expand when the user clicks on the summary. An example usage could look as follows. details> summary>Summarysummary> p>p> details> These elements are not used that often, though. Many engineers usually implement...