Is there a quick and easy way for me to vertically center my SVG icon with the corresponding text? I was able to get it to be close, but I'd like to nudge it down a bit. This is as close as I've got
Here's how I'm implementing it:
HTML:
<ul class="list-goals">
<li>Some text for li number one</li>
<li>Some text for li number two</li>
<li>Some text for li number three</li>
</ul>
CSS:
.list-goals li {
margin-bottom: 1rem;
background: url(../images/trophy.svg) no-repeat left top;
padding: 0px 0 3px 24px;
}
I figure I could always use a png with built in padding, but I'd rather stick to my svg and apply positioning or padding directly to the svg icon.
Thanks for the help!
