I have a navbar for a tribute page I'm coding for freecodecamp, and I just want the background of the navbar to be transparent black, and the text to be solid black, but it seems this is difficult to do.
here is the codepen: https://codepen.io/bkhible/pen/Bzpyyb
.navbar {
background-color: rgba(0,0,0,0.3);
border: none;
color: #000;
}
h3 {
color: #000;
}
.navbar-text {
font-family: 'Signika', sans-serif;
font-size: 68px;
letter-spacing: 10px;
color: #000;
}
and
<nav class="navbar navbar-inverse navbar-fixed-bottom">
<div class="container-fluid">
<h3 class="navbar-text">RADIOHEAD</h3>
</div>
</nav>
I found this q&a: Opacity bleeding into child divs ... but that solution seems to not be working unless I am just completely missing something? I'm assuming the fix is really, really simple.