<!DOCTYPE html>
<style>
body {
margin: 0;
}
div {
position: absolute;
width: 100px;
height: 100px;
background-color: green;
box-shadow: 40px 20px black;
}
#target1 {
top: 100px;
left: 100px;
width: 150px;
}
#target2 {
top: 100px;
left: 300px;
width: 50px;
}
#target3 {
top: 300px;
left: 100px;
height: 150px;
}
#target4 {
top: 300px;
left: 300px;
height: 50px;
}
</style>
<div id="target1"></div>
<div id="target2"></div>
<div id="target3"></div>
<div id="target4"></div>