当前位置:网站首页>加载中旋转沙漏
加载中旋转沙漏
2022-06-13 12:08:00 【 星云 】

<!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>sandglass</title>
<style> @keyframes sandglass {
0% {
transform: rotate(0deg); } 25%, 50% {
transform: rotate(180deg); } 75%, 100% {
transform: rotate(360deg); } } @keyframes bottom-sand {
0% {
transform: translateY(-30%); } 50% {
transform: translateY(0%); } 100% {
transform: translateY(30%); } } @keyframes top-sand {
0% {
transform: translateY(0%); } 50% {
transform: translateY(-30%); } 51% {
transform: translateY(-30%) translateX(100%); } 52% {
transform: translateY(30%) translateX(100%); } 53% {
transform: translateY(30%); } 100% {
transform: translateY(0%); } } @keyframes point {
0% {
opacity: 1; } 50% {
opacity: .2; } 100% {
opacity: 1; } } .sandglass {
transform-origin: 0 0; animation: sandglass 5s cubic-bezier(0.075, 0.82, 0.165, 1) infinite; } .bottom-sand {
transform-origin: 0 0; animation: bottom-sand 5s ease-in-out infinite; } .top-sand {
transform-origin: 0 0; animation: top-sand 5s ease-in-out infinite; } .label {
padding: 3rem; padding-top: 0; } .point{
animation-name: point; animation-duration: 2s; animation-timing-function: linear; animation-iteration-count: infinite; } </style>
</head>
<body>
<div style="width:800px;margin:auto;text-align:center;background:#222;">
<svg style="height:300px;" viewBox="-75 -75 150 150">
<defs>
<clipPath id="top">
<path d="M 0,2.4882812 -28.052734,30.541016 V 46.480469 H 28.052734 V 30.541016 Z" />
</clipPath>
<clipPath id="top-sand">
<path class="top-sand" d="M 0,2.4882812 -28.052734,30.541016 V 46.480469 H 28.052734 V 30.541016 Z" />
</clipPath>
<clipPath id="bottom">
<path d="m -28.052734,-46.480469 v 15.939453 L 0,-2.4882812 28.052734,-30.541016 v -15.939453 z" />
</clipPath>
<clipPath id="bottom-sand">
<path class="bottom-sand" d="m -28.052734,-46.480469 v 15.939453 L 0,-2.4882812 28.052734,-30.541016 v -15.939453 z" />
</clipPath>
</defs>
<g class="sandglass">
<path fill="#fff" d="m -29.8125,-50 a 1.75945,1.75945 0 0 0 -1.759766,1.759766 V -29.8125 a 1.7596259,1.7596259 0 0 0 0.515625,1.244141 L -2.488281,1.1402179e-8 -31.056641,28.568359 A 1.7596259,1.7596259 0 0 0 -31.572266,29.8125 V 48.240234 A 1.7596259,1.7596259 0 0 0 -29.8125,50 h 59.625 a 1.7596259,1.7596259 0 0 0 1.759766,-1.759766 V 29.8125 A 1.7596259,1.7596259 0 0 0 31.056641,28.568359 L 2.488281,1.1402179e-8 31.056641,-28.568359 A 1.7596259,1.7596259 0 0 0 31.572266,-29.8125 V -48.240234 A 1.7596259,1.7596259 0 0 0 29.8125,-50 Z m 1.759766,3.519531 h 56.105468 v 15.939453 L 1.1366282e-8,-2.488281 -28.052734,-30.541016 Z M 1.1366282e-8,2.488281 28.052734,30.541016 V 46.480469 H -28.052734 V 30.541016 Z" />
<g clip-path="url(#bottom)">
<g clip-path="url(#bottom-sand)">
<rect fill="#fff" x="-75" y="-75" width="150" height="150" />
</g>
</g>
<g clip-path="url(#top)">
<g clip-path="url(#top-sand)">
<rect fill="#fff" x="-75" y="-75" width="150" height="150" />
</g>
</g>
</g>
</svg>
<h2 class="label">loading
<span class="point" style="animation-delay:.25s;">.</span>
<span class="point" style="animation-delay:.5s;">.</span>
<span class="point" style="animation-delay:.75s;">.</span>
</h2>
</div>
</body>
</html>
边栏推荐
- Product story | YuQue drawing board you don't know
- camunda如何使用script脚本节点
- [tcaplusdb knowledge base] Introduction to tcaplusdb tcapulogmgr tool (I)
- Lucene从入门到实战
- 查询当前电脑cpu核心数
- "Forget to learn again" shell Basics - 30. Use of SED command
- IDEA 使用
- How to use dataX to update the data in the downstream Oracle database with the update semantics?
- Kubernetes problem sorting
- 塔米狗股权项目分享:北京化大化新科技股份有限公司163.79万股股份转让
猜你喜欢

多系统对接的适配与包装模式应用

5 LockSupport与线程中断

书籍+视频+学习笔记+技能提升资源库,面试必问

Mac MySQL installation tutorial

kubernetes 部署 ActiveMQ

Seccloud and trend technology jointly release the overall solution of container cloud platform and GPU resource pooling

基于三维GIS技术的行业发展及研究现状

【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(二)

【TcaplusDB知识库】TcaplusDB表数据缓写介绍

基于STM32F103——AS608指纹模块+串口打印
随机推荐
Idea usage
8、DeepFM介绍
面试突击56:聚簇索引和非聚簇索引有什么区别?
【TcaplusDB知识库】TcaplusDB表数据缓写介绍
[tcapulusdb knowledge base] Introduction to tcapulusdb tcapsvrmgr tool (I)
『忘了再学』Shell基础 — 30、sed命令的使用
Web development project, web single page development
Machine learning (II) - logical regression theory and code explanation
产品故事|你所不知道的语雀画板
The answer to the subject "highway" of the second construction company in 2022 has been provided. Please keep it
Details of fitfi sports money making chain game system development mode
Based on STM32F103 - matrix key + serial port printing
行业领先的界面组件包DevExpress 6月正式发布v21.2.8
Industry development and research status based on 3D GIS technology
Camunda定时器事件示例Demo(Timer Events)
燃油方案和产品业务建模
Kubernetes problem sorting
10、DCN 介绍
【TcaplusDB知识库】TcaplusDB分析型文本导出介绍
"Forget to learn again" shell Basics - 30. Use of SED command