sohunn
KPCKevin Powell - Community
•Created by sohunn on 4/23/2024 in #front-end
background image transitions
Hey guys, i have a simple carousel that cycles through images whenever a button is clicked. One issue is, i'm unable to figure out why my images aren't performing a transition when switched from one to another. I'm using sveltekit with tailwind css
here is how my script tag looks like:
and my markup looks like this
when i click my "next" button for instance, it never performs any transition
14 replies
KPCKevin Powell - Community
•Created by sohunn on 2/15/2024 in #front-end
CSS transitions
I have an unordered list that looks like
i'm doing mobile first design and i have a hamburger icon and when you click on it, the navbar expands. when the navbar is not expanded, i simply hide the ul by setting its display to none. i want to add a transition when this happens to make sure the change is smooth. i tried to add a transition on the ul but that didn't work and i'm unsure what to do
5 replies