Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70433

Fit image to ion-card-content

$
0
0

@CrisDeveloper96 wrote:

How can I adjust an image to the size of ion-card-content. This is mi code:
HTML:


<ion-row *ngFor=‘let datos of data | filtros:textoBuscar’>
<ion-col *ngFor="let datosI of datos.datos " size=‘4’ >


<ion-img class=“home__imagen” [src]=“datosI.imagen”>





CSS:
ion-card-content.card__content.card-content-md {
padding-left: 0;
padding-right: 0;
padding-top: 0;
padding-bottom: 1px;
-webkit-padding-start: 0px;
padding-inline-start: 0px;
-webkit-padding-end: 0px;
padding-inline-end: 0px;
}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70433

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>