JSFiddle - React, Tailwind, and code Playground

HTML

<div class="footer"></div>

CSS

.footer:before {
    content: 'test';
}