how to use different background color for two p-card?
Posted: 01 Nov 2019, 12:29
I have two p-card in a component. I hope them have different background colors.
I used the following CSS code but this makes two p-card have same background color.
::ng-deep .ui-card {
background-color: lightblue !important;
}
Is it possible to make two p-card have different colors?
Thanks!
I used the following CSS code but this makes two p-card have same background color.
::ng-deep .ui-card {
background-color: lightblue !important;
}
Is it possible to make two p-card have different colors?
Thanks!