当前位置:网站首页>線條動畫
線條動畫
2022-06-28 05:27:00 【轅小白】
<!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>線條動畫</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; /*動畫延遲 -4s*/
}
@keyframes fengyu{
0%,100%{
clip: rect(0px,220px,2px,0px);
/* 裁剪 必須有一個前置屬性 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>

边栏推荐
- BioVendor sRAGE抗体解决方案
- msa.h:没有那个文件或目录
- Question bank and answers of 2022 materialman general basic (materialman) operation certificate examination
- 指定默认参数值 仍报错:error: the following arguments are required:
- 【C语言练习——打印空心正方形及其变形】
- To batch add background pictures and color changing effects to videos
- metaRTC5.0 API编程指南(一)
- [JVM series] JVM tuning
- Store inventory management system source code
- [JVM] - Division de la mémoire en JVM
猜你喜欢
随机推荐
OpenSSL client programming: SSL session failure caused by an obscure function
2022 special operation certificate examination question bank and simulation examination for safety management personnel of fireworks and firecrackers business units
Docker安装Mysql5.7并开启binlog
[skywalking] learn distributed link tracking skywalking at one go
gorm事务体验
PMP考试成绩多久出来?这些你务必知道!
WordPress zibll sub theme 6.4.1 happy version is free of authorization
Online yaml to JSON tool
jsp连接Oracle实现登录注册
Have you finished the examination of level II cost engineer? There are also qualification regulations!
SlicePlane的Heading角度与Math.atan2(y,x)的对应转换关系
【Linux】——使用xshell在Linux上安装MySQL及实现Webapp的部署
Sorting out some topics of modern exchange principle MOOC
Share a powerful tool for factor Mining: genetic programming
[Verilog quick start of Niuke online question brushing series] ~ one out of four multiplexer
吴恩达深度学习测验题:deeplearning.ai-week1-quiz
Voltage mode and current mode control of switching power supply
What is the difference between AC and DC?
Why does the company choose cloud database? What is its charm!
指定默认参数值 仍报错:error: the following arguments are required:







![[untitled] drv8825 stepping motor drive board schematic diagram](/img/30/02f695592f3b624ebbb2b7a9f68052.png)
