This is completely separate from the question is it marked as a duplicate for...
I can make some items transparent - just not the item I want because something is overriding it. It is a bootstrap issue - not just css. I have taken out the requested html to keep the focus on the main question.
I am trying to create a Bootstrap card which has an opaque body, but a solid header and table. I tried (sass):
.card-body {
opacity: 0.75 !important;
background-color: $card-bg;
}
But it had no affect. So I tried:
.card {
opacity: 0.75 !important;
background-color: $card-bg;
}
.card-header {
opacity: 1 !important;
}
table {
opacity: 1 !important;
}
But the whole card, including header and table is then opaque. How can I achieve only the body being opaque?