Answer the question
In order to leave comments, you need to log in
How to bind the height of child and parent?
If you change the height of the child, then the height of the parent will naturally increase, is it possible without breaking this possibility by changing the height of the parent to change the height of the child without js?
Answer the question
In order to leave comments, you need to log in
Yes using flexbox
Using 100% height on the element inside the parent. The parent needs to set some height
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question