skip to Main Content

Css – How can i move this car (along with wheels) through X axis when clicking forward and backward button

This is my code : <body> <div class="backgroundImg"> <!-- <video autoplay loop muted> <source src="video.mp4" type="video/mp4"> </video> --> <img src="Scene.jpg" alt="" /> </div> <div class="buttons"> <button class="forward"></button> <button class="backward"></button> </div> <div class="road"></div> <div class="wholecar"> <div class="car"></div> <div class="wheel1"> <img src="wheel1.png"…

VIEW QUESTION
Back To Top
Search