NATIVE HTML DETAILS ELEMENT STYLED VIA CSS

Author:

  • Nicolás J Engler
  • January 10, 2021

Made with:

  • HTML / CSS (SCSS)

About the code:

This is an amazing and cool rebound shot from Dribbble to implement an accordion-like element using only the details/summary native HTML element and CSS.

Compatible browsers: Chrome, Edge, Firefox, Opera, Safari

Responsive: Yes

Dependencies:

Download Demo and Code Dribbble Page