Skip to content

Instantly share code, notes, and snippets.

@up209d
Last active July 12, 2018 00:14
Show Gist options
  • Save up209d/e0c24709204f661e36490ba7bcd5f6b5 to your computer and use it in GitHub Desktop.
Save up209d/e0c24709204f661e36490ba7bcd5f6b5 to your computer and use it in GitHub Desktop.
Child Div Expand Height base on dynamic height of Parent Div
.parent-div {
display: table;
}
.child-div {
display:block; /* Have to be block */
height: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment