Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Match Parent's Height] Match the child elements height to parent element's height #Layout
.parent {
overflow: hidden;
position: relative;
width: 100%;
}
.child {
height: 100%;
position: absolute;
right: 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment