当前位置:网站首页>Animation de ligne
Animation de ligne
2022-06-28 05:27:00 【Yuan Xiaobai】
<!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>Animation de ligne</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 retardée -4s*/
}
@keyframes fengyu{
0%,100%{
clip: rect(0px,220px,2px,0px);
/* Taille Doit avoir un attribut précédent 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>

边栏推荐
- Dart learning - functions, classes
- 【LeetCode】12、整数转罗马数字
- sqlmap工具使用手册
- [Linux] - using xshell to install MySQL on Linux and realize the deployment of webapp
- JSP
- Reactive dye research: lumiprobe af594 NHS ester, 5-isomer
- 【无标题】drv8825步进电机驱动板子原理图
- Concurrent wait/notify description
- MySQL export query results to excel file
- Biovendor sRAGE protein solution
猜你喜欢

BioVendor sRAGE蛋白解决方案

二级造价工程师证书含金量到底有多高?看这些就知道了

mysql导出数据库字典成excel文件

Gorm transaction experience

如何学习可编程逻辑控制器(PLC)?

The heading angle of sliceplane is the same as that of math Corresponding transformation relation of atan2 (y, x)

JS 文本框失去焦点修改全半角文字和符号

Latest Windows version 5.0.14 of redis

如何做好水库大坝安全监测工作

Learn Taiji Maker - mqtt Chapter 2 (IV) esp8266 reserved message application
随机推荐
8VC Venture Cup 2017 - Elimination Round D. PolandBall and Polygon
PMP考试成绩多久出来?这些你务必知道!
活性染料研究:Lumiprobe AF594 NHS 酯,5-异构体
Realizing color detection with OpenCV
Lumiprobe cell imaging analysis: PKH26 cell membrane labeling kit
博客登录框
If a programmer goes to prison, will he be assigned to write code?
2022 Western pastry (Advanced) test question simulation test platform operation
MCLK configuration of Qualcomm platform camera
Disable right-click, keyboard open console events
Latest Windows version 5.0.14 of redis
What are functions in C language? What is the difference between functions in programming and functions in mathematics? Understanding functions in programming languages
Sharing | intelligent environmental protection - ecological civilization informatization solution (PDF attached)
Install kubebuilder
Learn Taiji Maker - mqtt Chapter 2 (IV) esp8266 reserved message application
中小型水库大坝安全自动监测系统解决方案
The short video local life section has become popular. How to grasp the new opportunities?
Sorting out some topics of modern exchange principle MOOC
How long will the PMP test results come out? You must know this!
Store inventory management system source code