What I mean by that is that say I have the following html:
<div class="section-cover__image-container">
<img class="section-cover__image" src="{{ image }}" />
</div>
How would I style the container and image so that the image acts asif it is being used as a background image on the div using background-size: cover
, with no-repeat
and center
?