Avatar of bhomass
bhomass
 asked on

auto expand last div and apply scroll bar

I have a design with a outer container div and a number of child divs.

I want to last of the child divs to expand in height to fill in all remaining space whenever the browser resizes. This last child div can have content which is longer and therefore needs a scroll bar.

is this doable with only css, or does javascript have to be applied?
CSS

Avatar of undefined
Last Comment
bhomass

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Chris

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
bhomass

ASKER
ok, if so, can you reference some good articles to do this in javascript.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck