In today’s video, you will learn how to build an interactive dropdown accordion using only CSS. Yes, you don’t need any JavaScript to add animation or to show and hide the text by clicking on the header.
Wonder how it’s done? Then stay tuned.
Don’t forget to like and subscribe for more tutorials in the future!
Codepen: https://codepen.io/thecodingloft/pen/...
Clippy: https://bennettfeely.com/clippy/
Timestamps
00:00 | Intro
00:23 | Writing the HTML
01:17 | Styling the accordion
04:10 | Making it interactive