I am trying to overlay a header onto an image. However the background is hidden under the image. Why is this happening?
<div class="header">
<img width="100%" height="200px" src="/path/to/image.jpg" />
<h1>Header Title</h1></div>
h1 {
background: rgba(67,67,67,0.8);
margin-top: -3em;
}