JSFiddle - React, Tailwind, and code Playground

by Daniel Tan

HTML

<div id="container">
    <div id="gradient">Sample</div>
</div>

CSS

#container {
    background-color: #0000ff;
}

#gradient {
    width: 100px;
    height: 100px;
    color: #ffffff;
    filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=1, StartColorStr='#ffff0000', EndColorStr='#80000000');
}