<div class="delivery_background"><div class="delivery_car"></div></div>
.delivery_background { background: url(../images/icons/delivery_animation.png); width: 1082px; height: 172px; margin-left: auto; margin-right: auto; border-radius: 5px; margin-bottom: 15px; } .delivery_car { position: relative; background: url(../images/icons/delivery_car.png); left: 10px; top: 75px; width: 120px; height: 80px; transition: left 10s ease; } .delivery_car:hover { position: relative; background: url(../images/icons/delivery_car.png); left: 750px; top: 75px; width: 120px; height: 80px; transition: left 3s ease; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)