全屏自适应百叶窗动画切换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