How to make the height take remaining space ?

i can't get the height size of the child accurately
Change colours when required fields complete
astro
why does my content keeps getting smaller instead of adaptable to the device's width

Multi-input setup for license key
3 column layout with specific item on hover styling

How to reproduce this card hover effect
Javascript not working
Mobile Layout not taking full space

Problem with the responsiveness of website for and images
Have img match parent's height with set aspect ratio
CSS @property or :root?
@property
indistinctly from declaring CSS variables using :root
?
Is there any downside to using only @property
?
Thanks in advance! ๐...What do you think about my html?
Am I using the BAM naming convention correctly?
Need help with hovered item

Second dialog element not working and I don't know why
is it fine to explicitly set height: 120px for an image?
grid-template-column: repeat(auto-fit,minmax(300px,1fr))
but I'm not sure how to set the height. I was thinking of setting grid-auto-row: 500px
or something but I remembered that setting height and px are bad.
Edit:...