I am looking to enhance certain words in a paragraph by adding a brushstroke image in the background, similar to this example: https://i.sstatic.net/KzjGn.png. I attempted to use a simple background for a span, but the image exceeded the padding and was cut off. Here's what I tried:
.highlight1 {
background: url(ImageUrl.png);
background-repeat: no-repeat;
background-size: 100% 100%;
padding: 0;
margin: 0;
}
I would appreciate any assistance. Thank you!