1、先到官网上(https://github.com/alvarotrigo/fullPage.js)下载压缩包
2、引入文件
3、布局基本页面结构
4、实现全屏滚动(JS代码)
<
script
>
$(function(){
$(‘#fullpage‘).fullpage({
navigation:‘true‘
});
});
</
script
>
原文:https://www.cnblogs.com/zhahuhu/p/10972951.html