HiddenLayer5@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agoFrontend vs backendlemmy.mlimagemessage-square142fedilinkarrow-up12.14Karrow-down121
arrow-up12.12Karrow-down1imageFrontend vs backendlemmy.mlHiddenLayer5@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square142fedilink
minus-squarevoxel@sopuli.xyzlinkfedilinkarrow-up5·edit-21 year agoyeah, 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)
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)