css 玻璃镜片雾化清晰拖动效果代码

代码语言:html

所属分类:拖放

代码描述:css 玻璃镜片雾化清晰拖动效果代码

代码标签: 雾化 清晰 拖动 效果

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
  
  
  
<style>
/*
   The magic happends here below
   and here 
   https://www.linkedin.com/in/cdbonadeo/

   Hint: Refresh the page to get a new image
*/

* {
  margin: 0;
  padding: 0;
}

:root {
  --bg-img: url("//repo.bfw.wiki/bfwrepo/image/5fc8aa82a7330.png");
}

body {
  height: 100vh;
}

body,
.img:hover {
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
}

.fs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.blur {
  backdrop-filter.........完整代码请登录后点击上方下载按钮下载查看

网友评论0