Imagine I have this piece of code:
<span>Hello world!</span>
Along with the following CSS:
span{
color:red;
}
Is it possible to replace the red
value with an image? Something like url(images/text-bg.png);
? I am looking to add a texture to my text by using an image instead of a color, but I'm unsure if this is achievable with CSS.