Hi all I have an h2 element like so:
<h2 id="back">Back</h2>
and I added an image before:
#back::before {
background-image: url(/images/arrow.png);
background-size: 20px 30px;
display: inline-block;
width: 30px;
height: 40px;
content: "";
background-repeat: no-repeat;
background-position: center;
}
However the output is the screenshot attached...my question is how do I get my arrow to be aligned in the middle and before the text. How would I do that?