纯css实现图片水面涟漪流动动画效果
代码语言:html
所属分类:动画
代码描述:纯css实现图片水面涟漪流动动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> * { border: 0; margin: 0; box-sizing: border-box; } body { overflow: hidden; } .container { min-height: 100vh; display: flex; position: relative; align-items: center; justify-content: center; background-color: black; } .filtered-background, .main-background { position: absolute; height: 80vh; width: 55vh; background-image: url("http://repo.bfw.wiki/bfwrepo/image/5e11dfa5913d4.png"); background-size: cover; } .filtered-background { filter: url("#turbulence"); } </style> </head> <body translate="no"> <div class="container"> <div class=&qu.........完整代码请登录后点击上方下载按钮下载查看
网友评论0