JSFiddle - React, Tailwind, and code Playground
HTML
<h1>Вот текст а-ля такой и всё такое</h1>
CSS
h1 {
font-size: 72px;
background: linear-gradient(92deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,1) 38%, rgba(255,255,255,1) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-text-stroke: 1px #fff;
}
body {
background: #333
}