svg+css实现悬浮指纹动画效果代码

代码语言:html

所属分类:动画

代码描述:svg+css实现悬浮指纹动画效果代码

代码标签: svg css 悬浮 指纹 动画

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


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

<head>

  <meta charset="UTF-8">
  

  
  
  
  
<style>
body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0B0B0F;
}

.touch {
  stroke: white;
  stroke-dashoffset: 23;
  stroke-dasharray: 23;
  opacity: 0;
  transition: all 1s ease;
}

.fingerprint {
  transform: scale(2);
}
.fingerprint:hover path.touch {
  opacity: 1;
  stroke-dashoffset: 0;
  stroke-dasharray: 23;
}

.fey {
  position: fixed;
  bottom: 20px;
}
.fey svg {
  height: 16px;
}
</style>



</head>

<body translate="no" >
  <svg class="fingerprint" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.23454 19.3052C6.42429 18.8483 6.59884 18.3835 6.75758 17.9114M14.4235 21.0018C1.........完整代码请登录后点击上方下载按钮下载查看

网友评论0