My cards are flexbox items and I would like them to be slightly transparent with an opacity of 0.8. However, I want the elements inside the card to remain unchanged.
I tried setting the opacity of the other elements to 1, but that did not work as expected.
.mat-card {
opacity: 0.5;
}