当前位置:网站首页>【Case】Animation animation
【Case】Animation animation
2022-08-05 16:18:00 【daze girl】
<!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>Document</title>
<style> .map {
position: relative; width: 900px; height: 600px; background: url(./map.jpeg) no-repeat; background-size: 900px 600px; } .map .point {
position: absolute; top: 193px; right: 242px; width: 20px; height: 20px; /* background-color: red; */ } .map .point .center {
position: absolute; /* Center the small blue dot horizontally and vertically */ top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; background-color: red; border-radius: 50%; } .point div[class^='circle'] {
position: absolute; /* 水平垂直居中 */ top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; border-radius: 50%; box-shadow: 0 0 5px red; animation: move 1s linear infinite; } .map .point .circle2 {
animation-delay: 0.4s; } @keyframes move {
0% {
} 70% {
width: 15PX; height: 15px; opacity: 1; } 100% {
width: 20px; height: 20px; opacity: 0; } } </style>
</head>
<body>
<div class="map">
<div class="point">
<div class="center"></div>
<div class="circle1"></div>
<div class="circle2"></div>
</div>
</div>
</body>
</html>


边栏推荐
- 【案例】animation动画
- 对抗 | 利用de4dot解密被混淆的.NET代码
- The annual gas transmission volume of the West-East Gas Pipeline exceeds 100 billion cubic meters for the first time, and Tupu helps pipeline monitoring
- uniapp中页面跳转的几种方式及生命周期(整理)
- 红蓝对抗|常见技战法总结
- How to calculate heritability and breeding value in a full-sib family
- 【案例】3d相册
- .NET WebShell 免杀系列之Unicode编码
- vu2 尚硅谷 组件化编程
- 一个案例搞懂工厂模式和单例模式
猜你喜欢
随机推荐
对抗 | 利用de4dot解密被混淆的.NET代码
大厂硬件梦醒时分
2018-9-21recording our team Fanhao-Shen Resignation
即时通讯开发长连接网关技术:WebSocket实时推送网关技术
编译器工程师眼中的好代码:Loop Interchange
【翻译】EF Core 3.1.x, 5.x & 6.x Second Level Cache Interceptor
HTB:Obscurity渗透测试
The annual gas transmission volume of the West-East Gas Pipeline exceeds 100 billion cubic meters for the first time, and Tupu helps pipeline monitoring
基于eureka-server的服务注册与消费案例
25个 Web3 社交项目详细信息汇总(SocialFi)
记一次对某站点详细的渗透测试
【案例】3d变换之一个旋转的圆圈
他,高中毕业,46岁收获一个360亿IPO
Oracle导数据
EasyCVR calls the stop real-time recording interface, how to solve the problem that the recording address is not returned?
拉格朗日对偶问题
2018-10-14 21点20分
Vetur can‘t find `tsconfig.json` or `jsconfig.json` inXXX
裁员欠薪,黄光裕没能让国美真快乐
『攻防』记一次EDU攻防演练








