The animations helper is used to animate different types of elements.

How to use

Add the class .ods-animation to the element, then add the desired type of animation afterwards. The following animation is supported:

  • .ods-animation--rotate: Used to rotate the ::after element.
  • .ods-animation--rotate-plus-minus: Used to rotate and toggles the ::after element between plus and minus icon.