当前位置:网站首页>Line animation
Line animation
2022-06-28 05:27:00 【Yuanxiaobai】
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title> Line animation </title>
<style>
html,body{
margin: 0;
width: 100%;
height: 100%;
background-color: #0f222b;
}
.box,.box::before,.box:after{
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.box{
width: 200px;
height: 200px;
background: url(../images/er.jpg) no-repeat 50%/90%;
border: 2px solid green;
margin: auto;
}
.box::before, .box::after{
content:'';
margin: -5%;
box-shadow: inset 0 0 0 2px #69ca62;
animation: fengyu 8s linear infinite;
}
.box::after{
animation-delay: -4s; /* Animation delay -4s*/
}
@keyframes fengyu{
0%,100%{
clip: rect(0px,220px,2px,0px);
/* tailoring Must have a pre attribute position: absolute;*/
}
25%{
clip: rect(0px,2px,220px,0px);
}
50%{
clip: rect(218px,220px,220px,0px);
}
75%{
clip: rect(0px,220px,220px,218px);
}
}
</style>
</head>
<body>
<div class="box"></div>
</body>
</html>

边栏推荐
- 羧酸研究:Lumiprobe 磺基花青7二羧酸
- metaRTC5.0编程之p2p网络穿透(stun)指南
- Jdbc的使用
- metaRTC5.0 API编程指南(一)
- 活性染料研究:Lumiprobe AF594 NHS 酯,5-异构体
- MySQL 45讲 | 05 深入浅出索引(下)
- 北斗三号短报文终端在大坝安全监测方案的应用
- Extjs library management system source code intelligent library management system source code
- Enum
- 2022 special operation certificate examination question bank and simulation examination for safety management personnel of fireworks and firecrackers business units
猜你喜欢

Dart学习——函数、类

Sqlmap tool user manual

Online yaml to JSON tool

!‘ Cat 'is not an internal or external command, nor is it a runnable program or batch file.

Based on the order flow tool, what can we see?

Concurrent wait/notify description

【C语言练习——打印空心正方形及其变形】

Don't roll! How to reproduce a paper with high quality?

羧酸研究:Lumiprobe 磺基花青7二羧酸

sqlmap工具使用手册
随机推荐
[untitled] drv8825 stepping motor drive board schematic diagram
Detailed usage configuration of the shutter textbutton, overview of the shutter buttonstyle style and Practice
How to learn programmable logic controller (PLC)?
BioVendor sRAGE蛋白解决方案
Redis 的 最新windows 版本 5.0.14
Why is point shield cloud forced to quit playing?
Don't roll! How to reproduce a paper with high quality?
Docker安装Mysql5.7并开启binlog
SlicePlane的Heading角度与Math.atan2(y,x)的对应转换关系
Hundreds of lines of code to implement a script interpreter
codeforces每日5题(均1700)
氨基染料研究:Lumiprobe FAM 胺,6-异构体
Is it enough for the project manager to finish the PMP? no, it isn't!
[Linux] - using xshell to install MySQL on Linux and realize the deployment of webapp
JSP
分享|智慧环保-生态文明信息化解决方案(附PDF)
证明素数/质数有无限多个
Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
Camera Basics
A guide to P2P network penetration (stun) for metartc5.0 programming