Skip to content

Instantly share code, notes, and snippets.

@johnptmcdonald
Created May 12, 2016 12:50
Show Gist options
  • Select an option

  • Save johnptmcdonald/c84d39c6314ce17cf37ffed3d46ebb02 to your computer and use it in GitHub Desktop.

Select an option

Save johnptmcdonald/c84d39c6314ce17cf37ffed3d46ebb02 to your computer and use it in GitHub Desktop.

Revisions

  1. johnptmcdonald created this gist May 12, 2016.
    13 changes: 13 additions & 0 deletions marginCollapse2.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    body {
    border: 1px solid
    }

    .parent {
    width: 100px;
    height: 100px;
    background-color: green;
    }

    .child {
    margin-top: 50px;
    }