I'm having trouble getting the background of my CSS to have opacity without affecting the navbar.
I've tried adjusting the body tag in CSS, but the navbar keeps taking on the opacity instead of the background.
Is there a way to fix this issue?
body {
background-image: url("images/fenerbahce.jpeg");
background-size: cover;
opacity: 50%
}
.navbar {
padding: 20px;
display: flex;
align-items: center;
border-bottom: 1px solid #939392;
top: 0;
background-color: #ccd0d0;
}