Im trying to set an automatic height a div that contains 2 child elements, positioned fixed and absolutely respecitvely.
I want my parent container to have an auto h
If you don't want to use JavaScript, you could refer this answer https://stackoverflow.com/a/33788333/1272106.
Short description: duplicate one element and set visibility to hide to expand the parent.