JSFiddle - React, Tailwind, and code Playground
HTML
<div class="calendarDate"> <em>Saturday</em>
<strong>December</strong>
<span>21</span>
<span>2018</span>
</div>
CSS
body {
padding:15% 30%;
font-family:"Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
font-size: 100%;
margin: 10px;
color: #333;
background-color: #cecece;
}
div.calendarDate {
font-size:2em;
/*change calendarIcon size */
display: block;
position: relative;
width: 7em;
height: 7em;
background-color: #fff;
border-radius: 0.7em;
-moz-border-radius: 0.7em;
box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
overflow: hidden;
}
div.calendarDate * {
display: block;
width: 100%;
font-size: 1em;
font-weight: bold;
font-style: normal;
text-align: center;
}
div.calendarDate strong {
position: absolute;
top: 0;
padding: 0.4em 0;
color: #fff;
background-color: #19aaaa;
border-bottom: 1px dashed #ddd;
box-shadow: 0 2px 0 #19aaaa;
}
div.calendarDate em {
position: absolute;
bottom: 0em;
color: #fff;
padding-top:.2em;
height: 1.6em;
background-color: #19aaaa;
}
div.calendarDate span {
font-size: 2.8em;
letter-spacing: -0.05em;
padding-top: 0.65em;
color: #2f2f2f;
}