I have designed a canvas of wave shape in html5 and an image slider in css3 and I want my image slider to rotate in the canvas but whenever I do run the code image slider rotate outside the canvas can anybody help with the code to make my slider run in the canvas shape.