r/css • • Jun 10 '21

POP-IT using HTML, CSS & jQuery

https://youtu.be/9PKRKvYxtNs
4 Upvotes

4 comments sorted by

View all comments

8

u/DoNDaPo Jun 10 '21

Oh my god as all the tutorials video about something around here that's so bad it hurts, you don't even need jQuery to do that, further more, you don't need JavaScript at all

1

u/Earhacker Jun 10 '21

How would you have them stay "popped" without JS? The old checkbox hack?

2

u/rick_floss Jun 10 '21

Exactly. Except its not really a hack. A Pop is either Popped or Not. Just like a checkbox. Translates pretty well.