I have below code to run carousel in my ionic app
<ion-slides autoplay="1000" loop="true" speed="500">
<ion-slide *ngFor="let item of video">
<img [src] ='item.imge'/>
</ion-slide>
</ion-slides>
<h5>this is the text </h5>
</ion-content>
but the content is displaying like below
how to align them properly, if I write css like below it will display good.
<ion-slide style="height: 100vh;display: block;vertical-align: initial;" *ngFor="let item of video">
and <h3 style="position:absolute;top:350px">Most Viewd</h3>
is it compulsory to write CSS for each item in my page? why should it be like this? please let me know