Check out example codes for "css overlapping divs". It will help you in understanding the concepts better.

Code Example 1

html :
<div class="imageDiv"></div>
<div class="imageDiv bottomDiv"></div>

css:
 .imageDiv
        {
            margin-left: 100px;
            background: #fff;
            display: block;
            width: 345px;
            height: 220px;
            padding: 10px;
            border-radius: 2px 2px 2px 2px;
            -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        }

.bottomDiv
        {
           position:relative;
           bottom:150px;
           left:150px;
        }

Learn ReactJs, React Native from akashmittal.com