so i have 2 divs that one of them is made with min-height, and second one, inside the first one, is about to get the height of his parent, but that not what really happens, as height without min is working, but i need min with it.
so this is the code that i have made:
<div style="background:red; width:100px; min-height:calc(100% - 50px);position:absolute;">
<div style="background:yellow; width:100px; height:100%;">Yellow</div>
</div>
and it's not working as it should be (yellow block must be 100% of parent). Also, i don't want make the yellow one absolute, because i want his height to affect on his parent.