<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>动态log</title>
<style>
@keyframes style4 {
from,
20%,
40%,
60%,
80%,
to {
/* animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000); */
}
0% {
opacity: 0;
transform: scale3d(.3, .3, .3);
}
20% {
transform: scale3d(1.1, 1.1, 1.1);
}
40% {
transform: scale3d(.9, .9, .9);
}
60% {
opacity: 1;
transform: scale3d(1.03, 1.03, 1.03);
}
80% {
transform: scale3d(.97, .97, .97);
}
to {
opacity: 1;
transform: scale3d(1, 1, 1);
}
}
.top-box {
position: fixed;
left: 0;
top: 0;
width: calc(100% - 120px);
padding: 0 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: #ebebeb 5px 5px 5px;
z-index: 100;
}
.top-box h1 a {
color: #000;
font-weight: bold;
display: flex;
align-items: center;
text-decoration: none;
}
.top-box h1 a>div {
animation-name: style4;
}
.top-box h1 a>div {
animation-duration: 4s;
animation-fill-mode: both;
animation-iteration-count: infinite;
}
.top-box h1 a>div:nth-child(1) {
animation-delay: 0.0s
}
.top-box h1 a>div:nth-child(2) {
animation-delay: 0.1s
}
.top-box h1 a>div:nth-child(3) {
animation-delay: 0.2s
}
.top-box h1 a>div:nth-child(4) {
animation-delay: 0.3s
}
.top-box h1 a>div:nth-child(5) {
animation-delay: 0.4s
}
.top-box h1 a>div:nth-child(6) {
animation-delay: 0.5s
}
</style>
</head>
<body>
<div class="top-box">
<h1>
<a href="/goHome">
<div>动</div>
<div>态</div>
<div>L</div>
<div>o</div>
<div>g</div>
<div>s</div>
</a>
</h1>
</div>
</body>
</html>

创作不易 请尊重他人劳动成果,未经授权禁止转载!