Overriding multiple times?


#1

Hey all, I got some questions with overriding elements. Now I’m working with ion-card, and I need to change the ion-card-content background color. The only way to do this I found, overriding a $card-md-background-color element. But if I override this element every card components background will be the same color I give. So can I override this element multiple times for every card I want to be different from each other?


#2

Sounds like you would need to define separate CSS classes, throw them on each card, and set the background color in your page (or app)'s .scss file.