JSFiddle - React, Tailwind, and code Playground
HTML
<div id="block">
</div>
<div id="shadow">
</div>
CSS
html {
height: 100%;
}
body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
}
#shadow {
position: absolute;
left: 50px;
top: 225px;
width: 250px;
height: 175px;
bottom: 0;
z-index:1;
-webkit-box-shadow: 0px 6px 26px -3px rgba(3, 7, 18, 1);
-moz-box-shadow: 0px 6px 26px -3px rgba(3, 7, 18, 1);
box-shadow: 0px 6px 26px -3px rgba(3, 7, 18, 1);
}
#block {
z-index:2;
position: absolute;
left: 50px;
top: 50px;
width: 250px;
height: 350px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cc1e4a+0,3a2353+100 */
background: #cc1e4a;
/* Old browsers */
background: -moz-linear-gradient(top, #cc1e4a 0%, #3a2353 100%);
/* FF3.6-15 */
background: -webkit-linear-gradient(top, #cc1e4a 0%, #3a2353 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #cc1e4a 0%, #3a2353 100%);
/* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#cc1e4a', endColorstr='#3a2353', GradientType=0);
/* IE6-9 */
}