DEV Community

Discussion on: Show and Hide Content Easily With details and summary HTML Tags

Collapse
 
vtrpldn profile image
Vitor Paladini

Hey, Cezar. Thanks!

Yes, you can add an open attribute to it, like so: <details open> and the details box will start in an opened state

Collapse
 
cezaraugusto profile image
Cezar Augusto

cool, thanks! been learning nice stuff from your posts here on DEV, keep them coming!