You can resize an element's width by its parent's width, but can you resize an element's width by its parent's height? (Without using viewport variables)
CSS: "width=90% of parent's height" ??
Width:90%;
The application for this is to keep an aspect ratio in an adaptive layout by setting both the width and the height of the element relative to only the height of the parent element, not the width. I'm trying for a solution that doesn't use viewport variables like 'vw' or 'vh' because of the spotty browser support.
Open to jquery, but would like to avoid if at all possible...