# How to make a dynamic ion-scroll with animation?

**URL:** <https://forum.ionicframework.com/t/how-to-make-a-dynamic-ion-scroll-with-animation/175551>\
**Category:** ionic-v3\
**Created:** [October 15, 2019, 8:48am UTC](https://forum.ionicframework.com/t/how-to-make-a-dynamic-ion-scroll-with-animation/175551 "2019-10-15T08:48:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![exe988](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/exe988/32/128851_2.png) [@exe988](https://forum.ionicframework.com/u/exe988)\
**Post date:** [October 15, 2019, 8:48am UTC](https://forum.ionicframework.com/t/how-to-make-a-dynamic-ion-scroll-with-animation/175551/1 "2019-10-15T08:48:19Z")

</div>

I’m creating a scrolling image horizontally but it is too simple and boring i wan’t it to be dynamic like if i click the **image at the right side** it will automatically move at the left side and display a different description. I don’t have any idea how to make this happen so everyone is welcome to show off their answers. Thank you for you future answers guys and god bless.

![](https://global.discourse-cdn.com/ionicframework/original/3X/a/3/a3c35836528a0f3c2469655eb1c8bc389a41f3f4.png)

home.html

```auto
<ion-scroll scrollX="true">      

            <ion-card class="scroll-card">
              <div style="display: flex;">
                <div style="padding-left: 10px; padding-top: 10px;">
                  <p style="color: white;">House Design</p>
                  <p style="color: white;">Phase No.</p>
                  <p style="color: white;">Building No.</p>
                  <p style="color: white;">Block No.</p>
                </div>
                <div>
                    <img src="assets/imgs/unit-img.png">
                </div>
            </div>
            </ion-card>

            <ion-card class="scroll-card">
              <img src="assets/imgs/unit-img.png">
            </ion-card>

            <ion-card class="scroll-card">
              <img src="assets/imgs/unit-img.png">
            </ion-card>

        </ion-scroll>

```

home.css

```auto
.scroll-zoom-wrapper {
      white-space: nowrap;
  }

  ion-card {
    background-color: #589ba8;
    height: 145px; 
    width: 250px;
    margin-right: 10%;
    display: inline-block;
  }

    ion-scroll {
        white-space: nowrap;
        min-height: 177px; 
        height: auto;

      .scroll-content {
        padding: 0px !important;
      }   

    }

```
