css实现圆圈波纹涟漪动画效果代码

代码语言:html

所属分类:动画

代码描述:css实现圆圈波纹涟漪动画效果代码

代码标签: 波纹 涟漪 动画 效果

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

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
    body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: #1f3244;
}

.pulse {
  background-color: coral;
  height: 20vmax;
  width: 20vmax;
  border-radius: 100%;
  position: relative;
}

.ring {
  position: absolute;
  background-color: inherit;
  height: 100%;
  width: 100%;
  border-radius: 100%;
  opacity: 0.8;
  -webkit-animation: pulsing 2s ease-out infinite;
          animation: pulsing 2s ease-out infinite;
}
.ring:nth-of-type(1) {
  -webkit-animation-delay: -0.5s;
          animation-d.........完整代码请登录后点击上方下载按钮下载查看

网友评论0