I am facing an issue with a div that contains a background image and some text. I need the text within the div to not overlap with a specific part of the background image (the ribbon part). Please refer to the images linked below for a clearer understanding of my requirement. Here is how it should appear on all screens (except phones)
Here is the HTML code:
<div id="overview1" class="col-md-4">
<div class="row d-flex align-items-center height-33">
<div class="col-lg-4 col-md-5 d-sm-block d-none"></div>
<div class="benefits col-lg-8 col-md-7">
<h3 class="text-uppercase overview1-heading ms-3">
<span class="overview1-text">2023</span>
<span class="overview1-text">benefits</span>
overview
</h3>
</div>
</div>
</div>
And here is the CSS code:
#overview1 {
background-image: url("ribbon.jpg");
background-position: 10% 100%;
background-size: cover;
background-repeat: no-repeat;
color: white;
}