Today I want to share a method that limit div height and view its content by scrolling if content ‘s length is too much for current screen height.
First your should make sure the height you want, and set it in div
Next, fixed it being vertical direction in the screen and make it can be scroll.
The core code is
<div style="overflow-y: scroll; height:100%;">