Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nhinck
on May 19, 2022
|
parent
|
context
|
favorite
| on:
Gov.uk drops jQuery from their front end
Hmm, I would agree that you can do 95%+ of stuff jQuery used to be used for in vanilla js or html/css in a nicer way but animated collapsible divs still require a stupid amount of js to achieve.
iCarrot
on May 19, 2022
|
next
[–]
Animated collapsible div can be done with 0 line of JS.
https://code-boxx.com/expand-collapse-div-css-only/
nhinck
on May 20, 2022
|
parent
|
next
[–]
Uhh, did you check out how that actually functions? It looks like garbage.
ThunderSizzle
on May 20, 2022
|
root
|
parent
|
next
[–]
Agreed, this example looks like total shit.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: