JSFiddle - React, Tailwind, and code Playground

HTML

<div id="spacer">

</div>

CSS

#spacer {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='20px' width='45px'><text x='0' y='10' fill='red' font-size='14'>Spacer</text></svg>");
  width: 100%;
  height: 17px;
  background-repeat: repeat-x;
}