Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE HTML>
<html>
    
    <head>
        <title></title>
        <meta charset="UTF-8">
        <style>
            body, html {
                background-color: #edecec;
            }
            .parent-wrapper, .child-div {
                width: 80%;
                margin: auto;
                border: 4px solid #939292;
            }
            .parent-wrapper {
                height: auto;
            }
            .child-div {
                min-height: 70px;
                margin-bottom: 50px;
            }
            #first-nested-div:first-child {
                margin-top: 50px;
            }
        </style>
    </head>
    
    <body>
        <div class="parent-wrapper" id="a">
            <div class="child-div" id="first-nested-div"></div>
            <div class="child-div"></div>
            <div class="child-div"></div>
        </div>
    </body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers