Stumped.
I have a basic card with an image and a text tag I want to float over the image.
The tag should have a background color behind the text and above the image.
The background of the text goes behind the image instead.
https://codepen.io/Mikeritteronline/pen/LwJYaR
html
<div class="card">
  <div class="card__image">
    <img src="https://placehold.it/1024x768" alt="">
  </div>
  <div class="card__tag">
    <p>Image Tag</p>
  </div>
</div>
css
img {
  max-width:100%;
  height: auto;
  margin: auto;
  }
.card {
  max-width: 320px;
  margin: auto;
  }
.card__tag p{
  background: blue;
  color: lime;
  padding: 0.25rem;
  margin-top: -3rem;
}