DEV Community

Discussion on: Spoiler/sensitive element in HTML and CSS

afif profile image
Temani Afif

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

alvaromontoro profile image
Alvaro Montoro Author

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