I have a span that has a sparkling effect with an image before the text, but for some reason the image is aligned to the top. However, if I remove the image part and just use dots before it, it displays correctly.
Current Display:
Expected Outcome:
CSS:
.sapphire-member {
color: #0033ff;
background-image: url(http://resources.guild-hosting.net/201604011348/themes/core/images/tag_fx/sparkle_yellow.gif);
}
.sapphire-member:before {
content: url(https://puu.sh/D9zBw/ca0f811bca.png);
}
HTML:
<span class='sapphire-member'>Test</span>
Current HTML code for expected outcome with img tag:
<img src="https://puu.sh/D9zBw/ca0f811bca.png" /><span class='sapphire-member'>
Is there a way to achieve the desired result without using the img tag?