大数跨境
0
0

来赏月吧!超级亮(可复制源代码)

来赏月吧!超级亮(可复制源代码) 趣聊科技圈
2024-09-17
1

效果演示

html 代码

<!DOCTYPE html>
<html>
 <head>
  <meta charset="utf-8">
  <title>今日中秋</title>
  <style>
* {padding0;}body {background-imageurl(月圆中秋2月亮.png);background-size: cover;position: fixed;top0px;left0px;}
.box2 {border: transparent 1px solid;height100px;
width1600px;margin20px auto;}
.box3 {border: transparent 1px solid;height1100px;width1600px;}
.box2 img {float: left;height: auto;width100px;animation: t1 5.5s ease-in-out infinite;}
.box3 img:nth-of-type(1) {width500px;height: auto;position: absolute;left50%;top50%;transformtranslate(-50%, -150%);}
.box3 img:nth-of-type(2) {float: right;height: auto;width500px;animation: t2 10s ease-in-out infinite;}
.box3 img:nth-of-type(3) {float: left;height: auto;width400px;margin-top100px;animation: t1 10s ease-in-out infinite;}
@keyframes t1 {50% {transformtranslate(50px10px);}100% {transformtranslate(00);}}
@keyframes t2 {50% {transformtranslate(-80px, -110px);}100% {transformtranslate(00);}}
</style></head><body><div class="box2"><img src="孔明灯小号1.png" /></div><div class="box3"><img src="./孔明灯2.png"><img src="孔明灯小号3.png" /></div></body></html>

【声明】内容源于网络
0
0
趣聊科技圈
🧐探索科技,发现乐趣。🤩带你玩遍科技好物!
内容 511
粉丝 0
趣聊科技圈 🧐探索科技,发现乐趣。🤩带你玩遍科技好物!
总阅读63
粉丝0
内容511