8 Replies
my work
https://codepen.io/alpha_66/pen/wvOMOqK?editors=1010
the problem is the animation growing div who contain the image
my html code and my css code about this part
please can I get some idea about the way to achieve this ?
thanks by advance
Try using scale in the x direction
thanks I just do
problem solve
The problem is that applying the transition to
:hover
means that it will only do the transition going to hover, as soon as you un-hover the width pops back.
The transitions should be moved into these blocks
KP has a video that will help immensely.
Kevin Powell
YouTube
Build a responsive, animated, accessible accordion that looks prett...
Accordions are a pretty common thing that we find on websites these days, but they’re often… a little bit lacking, either with awkward animations, or a complete lack of animations, and sometimes just looking pretty ugly.
I recently came across an awesome codepen by Zed Dash that looked fantastic, and I thought it would be the perfect starting p...
There’s also a link to the project in the YouTube description if you just want to review the code and not watch the whole video. But he makes it accessible too which is great
0:34 fan of the design that inspired the video 🤭