Ecommerce product page with vanilla JS and pure CSS3

Solution retrospective
I had a problem with implementing same slider in few different variants and places. Would anybody get me advice about duplicating elements but with great control about it's styling in each "instance"? I find writing it again each time from the start not so efficent.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on pawel975's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord