http://codepen.io/africanmatt/pen/IcGpa
.text {
max-height: 0;
overflow-y: auto;
transition: all .45s ease-in-out;
}
.text-active {
max-height: 50%;
}
I am looking for a way to resize the .text component's max-height so that it adjusts proportionally with the height of the right-hand column when the window is resized. This is in order to keep both columns at an even height. While I think JavaScript could potentially solve this issue by adjusting max-height based on window width and height, I'm wondering if there might be a simpler CSS solution available.