I'm facing a challenge and struggling to find a way to highlight text using CSS or jQuery. My goal is to have an image on the left, another one on the right, and a repeated image in between. Since there are some long words involved, I need a dynamic solution.
This is what I want it to look like:
Can someone please guide me on how to achieve something like this? Let's name the images ImgLeft.png, ImgRepeat.png, and imgRight.png for demonstration purposes.
The HTML would simply be a paragraph
<p class="HighlightedText">Attention to detail</p>