1. .container {
    2. scroll-behavior: smooth;
    3. overflow-x: auto;
    4. -webkit-overflow-scrolling: touch;
    5. scroll-snap-type: xmandatory;
    6. scroll-padding: 20px;
    7. }
    8. img {
    9. scroll-snap-align: center;
    10. scroll-snap-stop: always;
    11. }