Last active
July 12, 2018 00:14
-
-
Save up209d/e0c24709204f661e36490ba7bcd5f6b5 to your computer and use it in GitHub Desktop.
Child Div Expand Height base on dynamic height of Parent Div
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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