Hi I have <div class="jumbotron text-center"><nav>something</nav></div>
this line of code and the jumbotron
has some CSS effects something like
.jumbotron{
background: url("image-url") no-repeat center center;
-webkit-background-size: 100% 100%;
-moz-background-size: 100% 100%;
-o-background-size: 100% 100%;
background-size: 100% 100%;
background-size: cover;
height: 78vh;
filter: brightness(50%);
}
but all I want is only the jumbotron's background image gets the CSS effects, not the nav
tag. currently, the nav
tag inherits thefilter: brigtness (50%)
, is there anyway only the background-image gets the effect?