I’m having difficulties to set a div’s height to 100% of it’s parent div.
I know setting 100% height works when the height of its parent is set.
The thing is, the height of that “parent” div depends on the amount of text that it will contain.
My question is: can we ask a div (child) to take 100% of its parent div without setting the height of that parent ? I hope you understant waht I mean, attached are screenshots
PS: The div child has the red background, its parent div has the yellow background.