Hiding list divide line? (Codepen Demo)


I am trying to get rid of ion-list’s line.
What is the best way?

Also, the predefined margin of each item as well.

CodePen link - http://codepen.io/fkkcloud/pen/yOgjqW

ion-items have this styling:

padding: 16px;
border-width: 1px;
border-style: solid;

the padding is responsible for the space on the left and right and the 1px border solid for the grey line.

You can overwrite this styling via an own css class.

1 Like