<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>gsap.js图片层叠切换代码 - 更多源码【www.96flw.com】</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="image image-1">
<img src="img/1.jpg" alt="image 1">
<h2 class="text">Image 1</h2>
</div>
<div class="image image-2">
<img src="img/2.jpg" alt="image 2" />
<h2 class="text">Image 2</h2>
</div>
<div class="image image-3" >
<img src="img/3.jpg" alt="image 3" />
<h2 class="text">Image 3</h2>
</div>
<div class="image image-4">
<img src="img/4.jpg" alt="image 4" />
<h2 class="text">Image 4</h2>
</div>
<div class="image image-5" >
<img src="img/5.jpg" alt="image 5" />
<h2 class="text">Image 5</h2>
</div>
</div>
<button role="button" class="button button-next" onClick="nextAnimation(event)">></button>
<script src='js/gsap.min.js'></script>
<script src="js/script.js"></script>
</body>
</html>
gsap.js图片层叠切换代码.zip
版权申诉
154 浏览量
2023-10-10
23:42:37
上传
评论
收藏 72KB ZIP 举报
码云笔记
- 粉丝: 2w+
- 资源: 5851