JSFiddle - React, Tailwind, and code Playground

HTML

<div>Stroked text with the stroke painted second; paint-order: normal (or fill) </div>
<div class="example">S</div>
<div>Stroked text with the stroke painted first; paint-order: stroke</div>
<div class="example stroke-under">S</div>

CSS

.example {
  color: grey;
  font-size: 100px;
  font-family: sans;
  -webkit-text-stroke-color: blue;
  -webkit-text-stroke-width: 5px;
}
.stroke-under {
  paint-order: stroke;  
}