this post was submitted on 27 Jul 2023
2102 points (99.0% liked)
Programmer Humor
32371 readers
509 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
yeah, just css is enough.
you don't need js unless you need to fetch data dynamically.
you can do all of your animations, dropdowns and transitions in css.
like this menu i made. no js in sight.
https://streamable.com/4ba0gg
also fully accessible and you can tab right into it without clicking enter or whatever
(and respects prefers-reduced-motion)