It is impossible to make a smooth transition of pictures on pure css and javascript how to make help guys. Everywhere use jQuery but it is not needed. There is a slider and arrows to the left and right when clicking on them you need a smooth transition of pictures
<div id="slider" onclick="document.getElementById('videoplay').pause()"> <label for="notebook2a_1" style="margin-top:6px;">Gallery</label> <div class="left_arrow"> <img src="full/left_arrow.png" id="left_arrow"/> </div> <div class="right_arrow"> <img src="full/right_arrow.png" id="right_arrow"/> </div> <img src="full/1.png" id="mainImage" class="mainImage"/> <ul class="thumbs"> <li class="img1"><img src="Thumbs/1.png" class="mini active" data-full-url="full/1.png" onmouseover="this.src='thumbs/1_over.png'" onmouseout="this.src='thumbs/1.png'"/></li> <li class="img2"><img src="Thumbs/2.png" class="mini" data-full-url="full/2.png" onmouseover="this.src='thumbs/2_over.png'" onmouseout="this.src='thumbs/2.png'"/></li> <li class="img3"><img src="Thumbs/3.png" class="mini" data-full-url="full/3.png" onmouseover="this.src='thumbs/3_over.png'" onmouseout="this.src='thumbs/3.png'"/></li> <li class="img4"><img src="Thumbs/4.png" class="mini" data-full-url="full/4.png" onmouseover="this.src='thumbs/4_over.png'" onmouseout="this.src='thumbs/4.png'"/></li> </ul> </div>