css布局实现文字数字立体凹凸效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现文字数字立体凹凸效果代码

代码标签: 文字 数字 立体 凹凸 效果

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


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

<head>

  <meta charset="UTF-8">


  <link rel='stylesheet' href='https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400&amp;display=swap'>
  
<style>
body {
  font-family: "Bai Jamjuree", sans-serif;
  font-size: 15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: #001e2e;
}

.number {
  position: relative;
  animation: rotate 2s infinite ease-in-out;
}

span:nth-child(1) {
  position: absolute;
  font-weight: bold;
  filter: blur(10rem);
  color: #0067ff;
}

span:nth-child(2) {
  position: absolute;
  font-weight: bold;
  filter: blur(1.3rem);
  background: -webkit-linear-gradient(85deg, #084d92 20%, #76d8fe 21%, #149dcc, #76d8fe 31%, #084d92 33%, #084d92 50%, #76d8fe 52%, #149dcc, #76d8fe 72%, #084d92 72%, #76d8fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

span:nth-child(3) {
  positi.........完整代码请登录后点击上方下载按钮下载查看

网友评论0