Home › Forums › CSS › [HELP!] How can I keep all of a page's content within the viewport? › Reply To: [HELP!] How can I keep all of a page's content within the viewport?
March 30, 2017 at 7:57 am
#253301
bearhead
Participant
If you can use javascript, you could find the ratio of the content height to the window height and scale the content by that ratio to fit everything on the screen:
http://codepen.io/kvana/pen/XMyGRo