当前位置:网站首页>線條動畫
線條動畫
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>

边栏推荐
- JS中的链表(含leetcode例题)<持续更新~>
- 关系数据库与文档数据库对比
- Hundreds of lines of code to implement a script interpreter
- 【JVM】——JVM中內存劃分
- Determine whether an attribute exists in an object
- Function reentry caused by Keil C51's data overlaying mechanism
- A guide to P2P network penetration (stun) for metartc5.0 programming
- Operation of 2022 power cable judgment question simulation examination platform
- How high is the gold content of grade II cost engineer certificate? Just look at this
- 线条动画
猜你喜欢

如何做好水库大坝安全监测工作
![[JVM] - memory partition in JVM](/img/d8/29a5dc0ff61e35d73f48effb858770.png)
[JVM] - memory partition in JVM

Voltage mode and current mode control of switching power supply

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

Operation of simulated examination platform of G3 boiler water treatment recurrent training question bank in 2022

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

Online yaml to JSON tool

Lumiprobe细胞成像分析:PKH26 细胞膜标记试剂盒

SlicePlane的Heading角度与Math.atan2(y,x)的对应转换关系

Gorm transaction experience
随机推荐
线条动画
Keil C51的Data Overlaying机制导致的函数重入问题
Intensive learning notes
OpenSSL client programming: SSL session failure caused by an obscure function
Opencv实现目标检测
Biovendor sRAGE antibody solution
[JVM] - memory partition in JVM
【JVM】——JVM中内存划分
Organize the online cake mall project
The latest examination questions and answers for the eight members (standard members) of Liaoning architecture in 2022
Create NFS based storageclass on kubernetes
2022 special operation certificate examination question bank and simulation examination for safety management personnel of fireworks and firecrackers business units
Feign implements path escape through custom annotations
Shutter nestedscrollview sliding folding head pull-down refresh effect
【SkyWalking】一口气学完分布式链路追踪SkyWalking
Operation of 2022 power cable judgment question simulation examination platform
拉萨手风琴
Store inventory management system source code
双向电平转换电路
氨基染料研究:Lumiprobe FAM 胺,6-异构体