Testing Three CSS Accordion Animation Techniques | Part 4

Angela J Holden on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

LivestreamIntermediateDesign Engineering2 hr 27 min

About this video

Part four of a live-coded series building shared CSS for a 30 Days of Vanilla JavaScript project, covering a button system, theme overrides, form styles and accessible component layout. The second half compares max-height, Grid, calc-size() and interpolate-size for an accordion animation and settles on a max-height and visibility transition.

What you’ll learn

  • Compare max-height, Grid and intrinsic-size approaches for an accordion transition
  • Debug theme overrides using CSS selector specificity in browser DevTools
  • Structure accordion triggers so the full heading is clickable and collapsed content is hidden from screen readers