JSFiddle - React, Tailwind, and code Playground
HTML
<div class="trick1">Text in Light Shade</div>
<div class="trick2">Text in Light Shade</div>
<div class="other">Text in Light Shade</div>
CSS
body {
background-color: white;
}
.other, .trick1, .trick2 {
font-size: 500%;
font-family: 'Arial';
}
.other {
background-color: rgba(0,0,0,0.8);
-webkit-background-clip: text;
color: transparent;
text-shadow: rgba(255,255,255,0.5) 0 5px 5px;
}
.trick1 {
color: black;
height: 2em;
}
.trick2 {
color: transparent;
text-shadow: rgba(255,255,255,0.8) 0 5px 5px;
margin-top: -2em;
}