Collapse-o-matic – jittery target expand / collapse

This page illustrates two different cases:

The expand using only trigclass is smooth and OK
  • trigclass | class assigned to the entire trigger
    Assigns a custom class to the entire trigger element. The animation is smooth. Content. Content.

The expand using only targclass is close to unacceptable due to the jitter.
  • targclass | class assigned to the entire target -› Very jittery expand/collapse!
    The targclass attribute makes the expand/collapse “jitter” badly. Content. Content.