DEV Community

loading...

Discussion on: Spoiler/sensitive element in HTML and CSS

Collapse
afif profile image
Temani Afif

I would go with a label/input configuration like this: codepen.io/t_afif/pen/dyNwNyQ where you don't need to duplicate the content.

Collapse
alvaromontoro profile image
Alvaro Montoro Author

That is a great idea, and not having to duplicate the content is a big plus.

Forem Open with the Forem app