# Slide's resize effect

**URL:** <https://forum.ionicframework.com/t/slides-resize-effect/139449>\
**Category:** ionic-v3\
**Created:** [August 23, 2018, 1:37pm UTC](https://forum.ionicframework.com/t/slides-resize-effect/139449 "2018-08-23T13:37:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kyrax80](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kyrax80](https://forum.ionicframework.com/u/Kyrax80)\
**Post date:** [August 23, 2018, 1:37pm UTC](https://forum.ionicframework.com/t/slides-resize-effect/139449/1 "2018-08-23T13:37:24Z")

</div>

Hello guys, I have a page with 2 rows which have 1 ion-slide each. As I have set the `slidesPerView` property, there is like an effect where the image is big and then suddenly becomes the needed size to have the number of slides that I set in that property.

Is there some way to avoid this and visualize the slides when they’re already resized? For now I have a workarround in which I hide all the page’s content for 1s (when the images will be already resized) with a conditional css. But I don’t really like this and was wondering if there’s some other way.

Thanks.

---

<div class="post-metadata">

**Author:** ![Kyrax80](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kyrax80](https://forum.ionicframework.com/u/Kyrax80)\
**Post date:** [October 15, 2018, 4:00pm UTC](https://forum.ionicframework.com/t/slides-resize-effect/139449/2 "2018-10-15T16:00:00Z")

</div>

No one can figure out what is happening? I haven’t found any fix yet ☹

---

<div class="post-metadata">

**Author:** ![Kyrax80](https://avatars.discourse-cdn.com/v4/letter/k/aca169/32.png) [@Kyrax80](https://forum.ionicframework.com/u/Kyrax80)\
**Post date:** [October 17, 2018, 12:01pm UTC](https://forum.ionicframework.com/t/slides-resize-effect/139449/3 "2018-10-17T12:01:19Z")

</div>

I added the following style and it doesn’t happen anymore:

```auto
ion-slide {
width: 18rem !important;
margin-right: 15px !important;
}

```

Because what is resizing it are `spaceBetween` and `slidesPerView` and I had to match both sizes in styles and these properties to finish this error.

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:22pm UTC](https://forum.ionicframework.com/t/slides-resize-effect/139449/4 "2021-07-19T21:22:41Z")

</div>

Closed on July 19, 2021, 9:22pm UTC


