I'm currently utilizing the ::before selector to insert an image before each item on my menu list. I am aiming to include a blank space between the image and the text. Below is the HTML markup
<ul>
<li>menu 1</li>
<li>menu 2</li>
<li>menu 3</li>
</ul>
Here is the CSS code:
&::before {
content: url("plus.png");
}
I have attempted:
&::before {
content: url("plus.png") + "\00a0";
}
As well as:
&::before {
content: url("plus.png" + "\00a0" );
}
Any suggestions on how I can achieve this? Thank you in advance!