Answer the question
In order to leave comments, you need to log in
How to make the block the correct height?
Tell me how here: https://jsfiddle.net/uw23s0vL/ to make block c be stretched to the size of the parent element, and not crawl out of the border?
Answer the question
In order to leave comments, you need to log in
*, ::after, ::before {
box-sizing: border-box;
}
div{
padding:16px;
}
#a {
border: 1px solid red;
height:200px;
display: flex;
flex-direction: column;
}
#b {
border: 1px solid green;
}
#c {
border: 1px solid blue;
height: 100%;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question