<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<style>body {
background: #fff;
height: 100vh;
overflow: hidden;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
font-family: 'Anton', sans-serif;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-perspective: 1000px;
perspective: 1000px;
}
div {
position: absolute;
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
}
#egg .stage:nth-child(1) .inner {
border-radius: 100%;
-webkit-transform: translate(-50%, -50%) translateZ(200px);
transform: translate(-50%, -50%) translateZ(200px);
}
#egg .stage:nth-child(1) .circle:nth-child(1) .x {
-webkit-animation: rotateX 23860ms -2574ms linear infinite;
animation: rotateX 23860ms -2574ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(1) .y {
-webkit-animation: rotateY 13624ms -2447ms linear infinite;
animation: rotateY 13624ms -2447ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(1) .inner {
width: 25px;
height: 25px;
background: #8478a0;
}
#egg .stage:nth-child(1) .circle:nth-child(1) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(2) .x {
-webkit-animation: rotateX 22036ms -2088ms linear infinite;
animation: rotateX 22036ms -2088ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(2) .y {
-webkit-animation: rotateY 20357ms -853ms linear infinite;
animation: rotateY 20357ms -853ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(2) .inner {
width: 12px;
height: 12px;
background: #4978a0;
}
#egg .stage:nth-child(1) .circle:nth-child(2) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(3) .x {
-webkit-animation: rotateX 23240ms -2294ms linear infinite;
animation: rotateX 23240ms -2294ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(3) .y {
-webkit-animation: rotateY 13790ms -1272ms linear infinite;
animation: rotateY 13790ms -1272ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(3) .inner {
width: 35px;
height: 35px;
background: #8a78a0;
}
#egg .stage:nth-child(1) .circle:nth-child(3) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(4) .x {
-webkit-animation: rotateX 12361ms -884ms linear infinite;
animation: rotateX 12361ms -884ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(4) .y {
-webkit-animation: rotateY 26279ms -1598ms linear infinite;
animation: rotateY 26279ms -1598ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(4) .inner {
width: 29px;
height: 29px;
background: #1378a0;
}
#egg .stage:nth-child(1) .circle:nth-child(4) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(5) .x {
-webkit-animation: rotateX 28912ms -929ms linear infinite;
animation: rotateX 28912ms -929ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(5) .y {
-webkit-animation: rotateY 19679ms -1557ms linear infinite;
animation: rotateY 19679ms -1557ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(5) .inner {
width: 30px;
height: 30px;
background: #2578a0;
}
#egg .stage:nth-child(1) .circle:nth-child(5) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(6) .x {
-webkit-animation: rotateX 26470ms -660ms linear infinite;
animation: rotateX 26470ms -660ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(6) .y {
-webkit-animation: rotateY 24459ms -1541ms linear infinite;
animation: rotateY 24459ms -1541ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(6) .inner {
width: 11px;
height: 11px;
background: #1678a0;
}
#egg .stage:nth-child(1) .circle:nth-child(6) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(7) .x {
-webkit-animation: rotateX 13310ms -2610ms linear infinite;
animation: rotateX 13310ms -2610ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(7) .y {
-webkit-animation: rotateY 19625ms -611ms linear infinite;
animation: rotateY 19625ms -611ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(7) .inner {
width: 22px;
height: 22px;
background: #2a78a0;
}
#egg .stage:nth-child(1) .circle:nth-child(7) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(8) .x {
-webkit-animation: rotateX 20200ms -1311ms linear infinite;
animation: rotateX 20200ms -1311ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(8) .y {
-webkit-animation: rotateY 19933ms -1896ms linear infinite;
animation: rotateY 19933ms -1896ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(8) .inner {
width: 16px;
height: 16px;
background: #4578a0;
}
#egg .stage:nth-child(1) .circle:nth-child(8) .inner::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
-webkit-transform: translateZ(-1px);
transform: translateZ(-1px);
border-radius: 100%;
background: rgba(255, 255, 255, 0.8);
}
#egg .stage:nth-child(1) .circle:nth-child(9) .x {
-webkit-animation: rotateX 12144ms -1894ms linear infinite;
animation: rotateX 12144ms -1894ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(9) .y {
-webkit-animation: rotateY 13642ms -1592ms linear infinite;
animation: rotateY 13642ms -1592ms linear infinite;
}
#egg .stage:nth-child(1) .circle:nth-child(9) .inner {
width: 17px;
height: 17px;
background: #7c78a0;
}
html--纯css粒子动画
最新推荐文章于 2025-06-11 17:10:16 发布