I am trying to make a page where I have "slides" stacked and the user has to scroll. Each slide is supposed to fill the entire viewport. So I have this CSS:
html,
body,
.slide {
height: 100%;
}
And in my HTML I simply have
<div class="slide">
<!-- Content Slide #1 here -->
</div>
<div class="slide">
<!-- Content Slide #2 here -->
</div>
And it works great. The problem is that on my iPhone, the second slide is not tall enough.
It's size seems to be calculated with the scrollbar on top, but as I scroll down, there is no scrollbar. I suppose I need jQuery to fix this, but how do I do it?