div+css实现文字波浪动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css实现文字波浪动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css?family=Muli");
*, *:before, *:after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
font-size: 62.5%;
background-color: #00091B;
font-family: "Muli", Helvetica, sans-serif;
}
.container {
position: absolute;
width: 17rem;
height: 10rem;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.text {
color: #fff;
font-size: 6rem;
font-weight: 900;
display: inline-block;
position: absolute;
bottom: 0;
-webkit-animation: text 1050ms ease-in infinite;
animation: text 1050ms ease-in infinite;
transform: translatez(0);
}
.text-w {
left: 0rem;
transform: translate3d(0, -4rem, 0);
-webkit-.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0