I have added the following code style=\"background-color: #C2A5A5 !important. But that has not worked for me. how can I add background color to ion-item?Thank
The Ionic CSS contains a CSS property:
.item .item-content {
background-color: transparent !important;
}
its apply on child dom of . We can use can use div class='item-content', but if we won't all the css(.item-content) property would apply to the child elements like if we use
Something //all css will apply into it
.item .item-content {
background-color: transparent !important;
}
I'm not able to comment that's why I am writing over here.