Set the height of an element, based on another element