curtains实现图片波纹波动动画效果代码
代码语言:html
所属分类:动画
代码描述:curtains实现图片波纹波动动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
  <meta charset="UTF-8">
  
  
  
  
<style>
body {
  /* make the body fits our viewport */
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  
  /* hide scrollbars */
  overflow: hidden;
}
#canvas {
  /* make the canvas wrapper fits the window */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}
.plane {
  /* define the size of your plane */
  width: 80%;
  max-width: 1400px;
  height: 80vh;
  position: relative;
  top: 10vh;
  margin: 0 auto;
  overflow: hidden;
}
.plane img {
  /* hide the img element */
  display: none;
}
/*** in case of error show the image ***/
.no-curtains .plane {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.no-curtains .plane img {
  display: block;.........完整代码请登录后点击上方下载按钮下载查看



 
				












 
			 
			 
				 
			 
	
网友评论0