splitting+gsap实现文字句子波浪动画效果代码

代码语言:html

所属分类:动画

代码描述:splitting+gsap实现文字句子波浪动画效果代码

代码标签: splitting gsap 文字 句子 波浪 动画

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

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

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

<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/splitting.css">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/splitting-cells.css">
  
<style>
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body {
	min-height: 100vh;
	display: grid;
	place-items: center;
	background: lightblue;
}

section {
	display: grid;
	place-items: center;
	width: fit-content;
	padding-inline: 2em;
	padding-block: 2em;
}

p {
	font-family: "Open Sans", sans-serif;
	font-optical-sizing: auto;
	font-size: 2rem;
	font-style: normal;
	line-height: 1.3;
	text-align: center;
	color: #00147e;
}
p .char {
	font-variati.........完整代码请登录后点击上方下载按钮下载查看

网友评论0