This is a basic code snippet created using HTML and CSS. How can I achieve the effect of overlapping the green div on top of the white div? I have attempted to move the green div up, but increasing the margin-bottom value does not work.
#d3{
background-color: white;
border:0px solid transparent;
width:500px;
height:200px;
box-shadow: 0px 2px 2px #888888;
-o-box-shadow: 0px 2px 2px #888888;
-webkit-box-shadow: 0px 2px 2px #888888;
-moz-box-shadow: 0px 2px 2px #888888;
}
#d4{
background-color: green;
border:0px solid transparent;
width:450px;
height:50px;
z-index:1;
margin-left: 20px;
margin-bottom: 100px;
margin-top: 20px;
box-shadow: 0px 2px 2px #888888;
-o-box-shadow: 0px 2px 2px #888888;
-webkit-box-shadow: 0px 2px 2px #888888;
-moz-box-shadow: 0px 2px 2px #888888;
white-space: nowrap;
}
<p id="i3">Tabs with icons</p><br><br><br>
<div id="d3">
<br><br>
<p>Lorem ipsum dolor sit amet, mattis nunc ligula nullam, sagittis dapibus magna feugiat, sit vel rutrum eros lacus vestibulum. Diam mauris venenatis ultricies, a donec fames placerat eget lacus dis, ut vestibulum, malesuada odio sem elementum erat nunc et, risus metus tortor vel in. Vestibulum in, nunc eu sed congue tincidunt dui, vulputate lectus nam ipsum. Justo donec, phasellus vitae tellus, felis duis massa fermentum, eu sem enim. Magna justo, est lectus non laoreet venenatis porta sed, pulvinar sit nulla enim, mauris duis nulla laoreet velit. </p>
</div>
<div id="d4">
Lorem ipsum dolor sit amet
</div>