I'm Having a problem... I want to make my background picture semi-transparent. However I want my text inside the div to be fully visible. Any tips? Thanks in advance
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Stack</title>
<style type="text/css">
#recipebackground{
/* The image used */
background-image: url("../imgs/ajiacobackground.jpg");
/* Full height */
height: 50%;
/* Center and scale the image nicely */
background-position: center;
background-repeat: no-repeat;
background-size: cover;
/*opacity*/
opacity: 0.5;
}
</style>
</head>
<body>
<section id="recipebackground" class="opacitybox">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<section>
<div class="container" >
<h1 style="font-size: 350%;" class="text-center"><b>It's Lunch-Time!</b></h1>
</div>
</section>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
Also take note that i'm using bootstrap in my file. Thank you