Simple Details and Summary Animation with Pure CSS

Simple Details and Summary Animation with Pure CSS

Kevin Powell via YouTube Direct link

- Introduction

1 of 7

1 of 7

- Introduction

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Simple Details and Summary Animation with Pure CSS

Automatically move to the next video in the Classroom when playback concludes

  1. 1 - Introduction
  2. 2 - The HTML and basic styling
  3. 3 - Adding interpolate-size: allow-keywords
  4. 4 - Enable shadow DOM in your devtools
  5. 5 - The ::details-content pseudo-element
  6. 6 - Animating the height
  7. 7 - Fixing the closing transition

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.