JSFiddle - React, Tailwind, and code Playground
HTML
<div class="๐"></div>
<div class="๐"></div>
CSS
div {
background-color: #dddddd;
padding: 10px;
margin-top: 5px;
}
div.๐:before, div.๐:before {
content: "Class " attr(class) ": ";
}
div.๐:after {
content: "๐";
}
div.๐:after {
content: "๐ฌ";
}