JSFiddle - React, Tailwind, and code Playground
by Paul Leech
HTML
<br />
<div class="strokeme">
This text should have a stroke in some browsers
</div>
CSS
.strokeme
{
color: white;
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
.strokeme:hover
{
color: blue;
text-shadow:
-1px -1px 0 #bbb,
1px -1px 0 #aaa,
-1px 1px 0 #999,
1px 1px 0 #888;
}