How to align background w/ content before in HTML?
I have this html structure: <div class="single-apartment-typology-text"> <span class="title-apartment primary-title text-animated"> <div class="title">Testing</div> <div class="uptitle"> <span> last 3 opportunity</span> </div> </span> </div> I've added a background title-apartment using the :before property. My goal is have the span within uptitle aligned…