JSFiddle - React, Tailwind, and code Playground
HTML
<span>This is sentence has some padding to make the highlight appear thicker. These are more words to better explain</span>
CSS
span {
background-color: yellow;
padding: 1px 10px;
}
<span>This is sentence has some padding to make the highlight appear thicker. These are more words to better explain</span>
span {
background-color: yellow;
padding: 1px 10px;
}