split圆球压缩文字重力感应动画效果
代码语言:html
所属分类:动画
代码描述:split圆球压缩文字重力感应动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="http://repo.bfw.wiki/bfwrepo/css/splitting.css">
<style>
@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@900&display=swap");
:root {
--duration: 6s;
--wave-duration: calc(var(--duration) * 0.25);
--text-in-delay: calc(var(--duration) * 0.275);
--text-in-duration: calc(var(--duration) * 0.1);
--easing: cubic-bezier(0.5, 0, 0.5, 1);
--dot-color: #ffd950;
--dot-color-dark: #977a12;
}
*,
*:before,
*:after {
box-sizing: border-box;
position: relative;
}
html,
body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background: #060506;
color: white;
font-family: "Heebo", sans-serif;
overflow: hidden;
}
body {
display: -webkit-box;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
flex-direction: row;
-webkit-box-pack: center;
justify-content: center;
-webkit-box-align: center;
align-items: center;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0