1

假设窗口高度为 768 像素,内容高度为 1080 像素,并且:

当我滚动到底部时,由于 winHeight < contentHeight,部分内容没有显示。我能为此做些什么?

在此处输入图像描述

4

1 回答 1

0

I had the same issue on one of my pages. Since overflow is set to overflow: hidden from the tutorial I was following I had to set overflow: visible for a couple specific sections so that all of the content would be visible.

Here's a jsfiddle: https://jsfiddle.net/Luw54j8x/

There is probably a bit of extra code in the CSS/js, but the important thing to pay attention to is the last few lines of the CSS. Remove the comment tags to see all of the content visible after scrolling.

于 2015-04-27T18:25:03.530 回答