1,index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ripples</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/jquery.ripples/0.5.3/jquery.ripples.min.js"></script>
</head>
<body>
<div class="full-landing-image"></div>

<script>
$('.full-landing-image').ripples({
resolution:200,
perturbance:0.04
})
</script>
</body>
</html>
 
2,style.css
 
body{
margin: 0;
padding: 0;
}
.full-landing-image{
width: 100%;
height: 100vh;
background: url(./hb.jpg) no-repeat;
background-size: cover;
}

相关文章:

  • 2021-12-03
  • 2021-08-24
  • 2021-10-23
  • 2021-09-11
  • 2022-01-26
  • 2021-11-19
  • 2022-12-23
猜你喜欢
  • 2022-01-19
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
相关资源
相似解决方案