The below code working fine as per my expectations. But the problem is that the animation has not working within the container division. The animation showing on bottom of the page, but not within the container . Is it possible to help me, thanks
#my_move_imgs {
display: inline-block;
bottom: 15%;
position: absolute;
overflow-x: hidden;
animation: moveImage 6s linear infinite;
left: 1px;
white-space: nowrap;
}
@keyframes moveImage {
100% {
transform: translateX(calc(100vw - 100px));
}
}
<div id ="sew_container" style="height:220px; width:100%; border: 5px solid blue; border-radius: 5px; text-align: center; background-image: url('Images/sew_bckimg.jpg'); background-size: 100% 100%;">
<div id="my_move_imgs">
<img src="Images/Image1.jpg" height="80px" width="100vh" border="2px solid #555">
<img src="Images/Image2.jpg" height="80px" width="100vh" border="2px solid #555">
<img src="Images/Image3.jpg" height="80px" width="100vh" border="2px solid #555">
</div>
</div>