HOver effect on image
HI everyone
can I get some idea about how to make an image grow after the click.
Thanks by advance
6 Replies
you could use
scale: x y;
or transform: scale(x,y);
In that video there look to be some translate also to move the images to the center.HI Chris thanks I going to try
With JavaScript you could either apply the style directly or toggle a class with those properties when you click on the image
You could do something like this
https://codepen.io/tok124/pen/dyQWeRp
This is not perfect, but this should give you an idea what you need to do. It's just a quick example i made
thanks
I wonder if there is more code channel like codegrid focusing on recreating well designed websites n effects
the video in this post is a tailer of his yt video and he has a video on how to recreate this effect on his channel now.