JSFiddle - React, Tailwind, and code Playground

by khamer

HTML

<div></div>

CSS

:root {
  --icon: 'hello';
}

div::before {
  content: var(--icon);
}