<div class="background">
<div class="card">
</div>
</div>
div.background {
background: #262626;
height: 300px;
width: 300px;
display: flex;
}
div.card {
background: #262626;
margin: auto;
height: 100px;
width: 100px;
border-radius: 2px;
box-shadow:
#262626 0px 0px 2px 2px,
#000000 4px 4px 8px,
#4d4d4d -4px -4px 8px;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.