I need a help with word highlighter which should be half a word and with borders enter image description here I tried the following parameters, but it can't give a round corner, is there another way to css the word to look like the image?
background: linear-gradient(transparent,transparent 42%,#ff0 0,#ff0 85%,transparent 0) no-repeat;
I could not get the result with round borders
Use a pseudo-element positioned behind the word.