|
|

楼主 |
发表于 2022-1-1 08:35
|
显示全部楼层
本帖最后由 马黑黑 于 2022-1-1 08:38 编辑
祝福框参考代码:
- <style type="text/css">
- .dDiv {
- width:100%;
- height:400px;
- line-height:400px;
- color:transparent;
- font-family:SimHei,NSimSun,'Microsoft YaHei';
- font-size:60px;
- font-weight:bold;
- background:#000;
- text-align:center;
- border-radius:8px 12px;
- box-shadow:4px 4px 6px #000;
- }
- .sp { animation:iFlash 6s linear infinite; }
- .dDiv span:nth-child(1) { animation-delay:0s; }
- .dDiv span:nth-child(2) { animation-delay:0.4s; }
- .dDiv span:nth-child(3) { animation-delay:0.8s; }
- .dDiv span:nth-child(4) { animation-delay:1.2s; }
- .dDiv span:nth-child(5) { animation-delay:1.6s; }
- .dDiv span:nth-child(6) { animation-delay:2s; }
- .dDiv span:nth-child(7) { animation-delay:2.4s; }
- .dDiv span:nth-child(8) { animation-delay:2.8s; }
- .dDiv span:nth-child(9) { animation-delay:3.2s; }
- @keyframes iFlash {
- 0%,100% {
- color:white;
- text-shadow:
- 2px 2px 4px coral,
- 2px 2px 10px coral,
- 2px 2px 20px coral,
- 2px 2px 40px coral,
- 2px 2px 50px coral,
- 2px 2px 60px coral,
- 2px 2px 0px coral,
- 2px 2px 80px coral,
- 2px 2px 90px coral,
- 2px 2px 100px coral;
- }
- 30%,90% {
- color:transparent;
- text-shadow:none;
- }
- }
- </style>
- <div class="dDiv">
- <span class="sp">2</span>
- <span class="sp">0</span>
- <span class="sp">2</span>
- <span class="sp">2</span>
- <span class="sp">萬</span>
- <span class="sp">事</span>
- <span class="sp">如</span>
- <span class="sp">意</span>
- <span class="sp">!</span>
- </div>
复制代码 |
评分
-
| 参与人数 1 | 威望 +30 |
金钱 +60 |
经验 +30 |
收起
理由
|
加林森
| + 30 |
+ 60 |
+ 30 |
赞一个! |
查看全部评分
|