JSFiddle - React, Tailwind, and code Playground

HTML

<span id="key">y</span>

CSS

span#key::before {
    content:'tt';
}
span#key::after {
    content:'h';
}