How i can do that in flexbox


When i click R or L, i want to move of images, like slider

My guess is adding an onclick event listener and that calls a function that changes the css to move the images. Might mean actually moving the images on the page or changing attributes of the html elements that the images are in.

Probably add animation or transform to show the images moving.

Looks like you want a ‘carousel’. Do a google search for css flex-box carousel and you’ll find ways to implement it.

Thanks for answrs, now i’m looking Swiper.

Here’s one I did that I need to go back and finish. The swiping function works well and it’s just html/css with flex-box.

The desktop version isn’t quite as nice but still works.

Thanks, :+1: i will view