I have this CSS
.jumbotron {
background: url('/background.svg');
opacity: 0.5;
}
but I want the opacity to target the background image only. At the moment it targets the whole jumbotron so the fonts etc. are also faded.
I've tried
.jumbotron {
background: url('/background.svg');
background: opacity: 0.5;
}
and
.jumbotron {
background: url('/background.svg');
}
.jumbotron:img {
opacity: 0.5;
}
but neither work.