Space between iem in ion-list

Hello everybody, first sorry for my english, i’m french :stuck_out_tongue:

I discovers Ionic and i like more and more !!!
I use Ionic for my training and i would like to know if it’s possible to create a “space” between two item in a ?

Thank for your réponse :slight_smile:

Greetings! Glade you’re liking Ionic.

By space, do you mean margin? If so, you can just adjust the margin value for the items like this

.item{
  margin:10px auto;
}

http://codepen.io/mhartington/pen/otcDJa

Great !
Thank a lot for your help :slight_smile:

Thank you so much I Was looking this king of manipulation of ion-item

How to remove space between list-items, in dynamic generated list as following:

	<ion-list *ngFor="let as of [{name: 'AAA'},{name: 'BBB'}]">
		<ion-item>
			{{as.name}}
		</ion-item>
	</ion-list>
1 Like