js+css实现文字螺旋动画效果代码

代码语言:html

所属分类:动画

代码描述:js+css实现文字螺旋动画效果代码

代码标签: js css 文字 螺旋 动画

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

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

<head>
  <meta charset="UTF-8">
  

  
  
  
<style>
html, body {
  margin: 0; padding: 0; height: 100%;
  background: radial-gradient(circle at center, #0f0c29, #302b63, #24243e);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('');
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.spiral-wrapper {
  width: 100vw;
  height: 100vh;
}

.spiral-svg text {
  fill: white;
  font-weight: 500;
  font-size: 22px;
  filter:
    drop-shadow(0 0 8px #bb88ff)
    drop-shadow(0 0 15px #ff77cc);
  user-select: none;
  l.........完整代码请登录后点击上方下载按钮下载查看

网友评论0