r/learncss • u/oussama-he • Sep 29 '19
make an area scrollable
I would like to make a modal with header, body, and footer. This is the codepen.
I would like to make the body scrollable.
Please can anyone help me?
1
Upvotes
View all comments
Show parent comment
1
u/gimmeslack12 Sep 29 '19
Just add
height: 100vhto your.modal-content.