全屏自适应百叶窗动画切换js代码

效果如下:
全屏自适应百叶窗动画切换js代码_自适应

代码如下:

<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>全屏自适应百叶窗动画切换js代码</title>

<link rel="stylesheet" href="css/style.css">

</head>
<body><script src="/demos/googlegg.js"></script>

<div id="sections-wrapper">
<section class="show" data-img="img/mountain.jpg">

</section>
<section class="hide-bottom" data-img="img/shore.jpg"></section>
<section class="hide-bottom" data-img="img/twilight.jpg"></section>
<section class="hide-bottom" data-img="img/parachute.jpg"></section>
<section class="hide-bottom" data-img="img/sky.jpg"></section>
</div>

<!-- sections control -->
<div class="sections-control">
<div class="section-thumbnail active"></div>
<div class="section-thumbnail"></div>
<div class="section-thumbnail"></div>
<div class="section-thumbnail"></div>
<div class="section-thumbnail"></div>
</div>

<script src="js/anime.min.js"></script>
<script src="js/interaction.js"></script>

</body>
</html>

下载代码