@shepard wrote:
I am trying to duplicate this in Ionic1:
<div class="row" ng-class='"item-red">To this in Ionic2:
<ion-row [ng-class]="item-red">I have put the following in the scss file of the page:
.page1 {
item-red {
color: #FFF;
background-color: #FF6666;
}
}No love. Not sure if my use of ng-class is wrong or the scss or if I cannot add it to ion-row?
I am however able to use
<ion-row class="item-red">
Posts: 5
Participants: 2