So I have this code right here, 3 boxes each have a background photo(set with url on CSS, not added in HTML). I'm trying to make the photo darker because the white text does not look good at the moment. When I try to do that, it makes everything opaque, including the text.
#box-one,
#box-two,
#box-three {
font-size: 25px;
padding: 30px;
width: 200px;
height: 200px;
text-align: center;
color: white;
box-shadow: 15px 15px 13px #aa924ba8;
}
#box-one {
background: url(./img/barsana.jpg);
}
#box-two {
background: url(./img/mocanita.jpg);
}
#box-three {
background: url(./img/food.jpg);
}
<div class="container-hl">
<div id="box-one">
<h3>Barsana</h3>
<hr />
<p>Built in 1970, located in the homonymous village, on a beautiful hilltop</p>
</div>
<div id="box-two">
<h3>Info</h3>
<hr />
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ullam, beatae id. Ducimus?</p>
</div>
<div id="box-three">
<h3>Info</h3>
<hr />
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ratione.</p>
</div>
</div>