fullpage.js如何滚半屏
只需要把最后一个section 追加样式 fp-auto-height 列如:
<full-page id="fullpage" ref="fullpage" :options="options">
<div class="section " id="section0">
<h1>fullPage.js</h1>
<p>Auto-height sections</p>
</div>
<div class="section" id="section1">
<div class="intro">
<h1>Ideal for footers</h1>
<p>Or any other section rather than the 1st one</p>
</div>
</div>
<div class="section fp-auto-height" id="section2">
<div class="myContent">
<div class="intro footer">
<h1>My footer</h1>
<p>This could be my footer.</p>
</div>
</div>
</div>
</full-page>
官方实例:https://alvarotrigo.com/fullPage/examples/autoHeight.html