源创宝库吧 新一代精品资源网 在线工具箱 此位置招租 SanS三石导航页 ⚡免费影视资源库丨极速无广告⚡ 此位置招租 此位置招租 此位置招租 此位置招租 此位置招租 ⚡免费影视资源库丨极速无广告⚡ 此位置招租 此位置招租 此位置招租 此位置招租 此位置招租 ⚡免费影视资源库丨极速无广告⚡ 此位置招租 此位置招租 此位置招租 此位置招租 此位置招租 ⚡免费影视资源库丨极速无广告⚡ 此位置招租
返回列表 发布新帖
查看: 124|回复: 3

[模板主题] 2024新年倒计时

  在线 
灌水成绩
127
203
806
主题
回帖
积分

等级头衔
UID : 83
等级 : 版主

积分成就
威望 : 93 点
贡献 : 378 点
蛋壳 : 5714 枚
在线时间 : 1311 小时
注册时间 : 2024-4-17
最后登录 : 2024-9-17

荣誉勋章
发表于 2024-5-29 12:26:24 | 查看全部 |阅读模式 来自: 中国–黑龙江–七台河

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 cnhunke 于 2024-5-29 12:34 编辑
  1. <div class="blockcode"><blockquote><!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>2024新年倒计时</title>
  6. <style>
  7.     ::-webkit-scrollbar {
  8.       display: none;
  9.     }
  10.   </style>
  11. <style>
  12. home.php?mod=space&uid=476974 url("https://fonts.googleapis.com/css?family=Aleo");
  13. :root {
  14.   font-family: "Aleo", sans-serif;
  15. }
  16. html,
  17. body {
  18.   width: 100%;
  19.   height: 100%;
  20.   padding: 0;
  21.   margin: 0;
  22.   background: rgb(119, 13, 13);
  23.   background: radial-gradient(
  24.     circle,
  25.     rgba(119, 13, 13, 0.92) 64%,
  26.     rgba(0, 0, 0, 0.6) 100%
  27.   );
  28. }
  29. canvas {
  30.   width: 100%;
  31.   height: 100%;
  32. }
  33. .label {
  34.   font-size: 2.2rem;
  35.   background: url("https://blog.azad.asia/2024/img/01.png");
  36.   background-clip: text;
  37.   -webkit-background-clip: text;
  38.   color: transparent;
  39.   animation: moveBg 30s linear infinite;
  40. }
  41. @keyframes moveBg {
  42.   0% {
  43.     background-position: 0% 30%;
  44.   }
  45.   100% {
  46.     background-position: 1000% 500%;
  47.   }
  48. }
  49. .middle {
  50.   position: absolute;
  51.   top: 50%;
  52.   left: 50%;
  53.   transform: translate(-50%, -50%);
  54.   text-align: center;
  55.   user-select: none;
  56. }
  57. .time {
  58.   color: #d99c3b;
  59.   text-transform: uppercase;
  60.   display: flex;
  61.   justify-content: center;
  62. }
  63. .time span {
  64.   padding: 0 14px;
  65.   font-size: 0.8rem;
  66. }
  67. .time span div {
  68.   font-size: 3rem;
  69. }
  70. home.php?mod=space&uid=945662 (max-width: 740px) {
  71.   .label {
  72.     font-size: 1.7rem;
  73.   }
  74.   .time span {
  75.     padding: 0 16px;
  76.     font-size: 0.6rem;
  77.   }
  78.   .time span div {
  79.     font-size: 2rem;
  80.   }
  81. }
  82. </style>
  83. <!--适配小屏幕-->
  84. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  85. </head>
  86. <body>
  87. <script language="javascript" type="text/javascript" src="https://cdn.staticfile.org/jquery/1.7.2/jquery.min.js"></script>
  88. <script type="text/javascript">
  89. var a_idx = 0;
  90. jQuery(document).ready(function($) {
  91.     $("body").click(function(e) {
  92.         var a = new Array("新的一年,祝各位坛友", "时来运转","如愿以偿","出门见喜","万事胜意","一夜暴富","元气满满","平安喜乐","乘风破浪","生活明朗","知足常乐","福如东海", "寿比南山", "财源滚滚", "喜气洋洋", "好运连连","步步高升", "蒸蒸日上","闪闪发光","欣欣向荣","生生不息","心想事成" ,"幸福安康","健康快乐", "笑口常开", "龙马精神", "福星高照","财运亨通","吉祥如意","美梦成真","锦鲤附体","喜气盈门","家肥屋润","家和万事兴","所得皆所期","所求皆如愿","所行化坦途");
  93.         var $i = $("<span/>").text(a[a_idx]);
  94.         a_idx = (a_idx + 1) % a.length;
  95.         var x = e.pageX,
  96.         y = e.pageY;
  97.         $i.css({
  98.             "z-index": 999999999999999999999999999999999999999999999999999999999999999999999,
  99.             "top": y - 20,
  100.             "left": x,
  101.             "position": "absolute",
  102.             "font-weight": "bold",
  103.             "color": "#eea2a4"
  104.         });
  105.         $("body").append($i);
  106.         $i.animate({
  107.             "top": y - 180,
  108.             "opacity": 0
  109.         },
  110.         1500,
  111.         function() {
  112.             $i.remove();
  113.         });
  114.     });
  115. });
  116. </script>
  117. <div class="middle">
  118.     <h1 class="label">距農曆2024甲辰龍年 </h1>
  119.     <div class="time">
  120.         <span>
  121.         <div id="d">
  122.             00
  123.         </div>
  124.         天 </span> <span>
  125.         <div id="h">
  126.             00
  127.         </div>
  128.         時 </span> <span>
  129.         <div id="m">
  130.             00
  131.         </div>
  132.         分 </span> <span>
  133.         <div id="s">
  134.             00
  135.         </div>
  136.         秒 </span>
  137.     </div>
  138. </div>
  139. <script>
  140. class Snowflake {
  141.   constructor() {
  142.     this.x = 0;
  143.     this.y = 0;
  144.     this.vx = 0;
  145.     this.vy = 0;
  146.     this.radius = 0;
  147.     this.alpha = 0;
  148.     this.reset();
  149.   }
  150.   reset() {
  151.     this.x = this.randBetween(0, window.innerWidth);
  152.     this.y = this.randBetween(0, -window.innerHeight);
  153.     this.vx = this.randBetween(-3, 3);
  154.     this.vy = this.randBetween(2, 5);
  155.     this.radius = this.randBetween(1, 4);
  156.     this.alpha = this.randBetween(0.1, 0.9);
  157.   }
  158.   randBetween(min, max) {
  159.     return min + Math.random() * (max - min);
  160.   }
  161.   update() {
  162.     this.x += this.vx;
  163.     this.y += this.vy;
  164.     if (this.y + this.radius > window.innerHeight) {
  165.       this.reset();
  166.     }
  167.   }
  168. }
  169. class Snow {
  170.   constructor() {
  171.     this.canvas = document.createElement("canvas");
  172.     this.ctx = this.canvas.getContext("2d");
  173.     document.body.appendChild(this.canvas);
  174.     window.addEventListener("resize", () => this.onResize());
  175.     this.onResize();
  176.     this.updateBound = this.update.bind(this);
  177.     requestAnimationFrame(this.updateBound);
  178.     this.createSnowflakes();
  179.   }
  180.   onResize() {
  181.     this.width = window.innerWidth;
  182.     this.height = window.innerHeight;
  183.     this.canvas.width = this.width;
  184.     this.canvas.height = this.height;
  185.   }
  186.   createSnowflakes() {
  187.     const flakes = window.innerWidth / 4;
  188.     this.snowflakes = [];
  189.     for (let s = 0; s < flakes; s++) {
  190.       this.snowflakes.push(new Snowflake());
  191.     }
  192.   }
  193.   update() {
  194.     this.ctx.clearRect(0, 0, this.width, this.height);
  195.     for (let flake of this.snowflakes) {
  196.       flake.update();
  197.       this.ctx.save();
  198.       this.ctx.fillStyle = "#FFF";
  199.       this.ctx.beginPath();
  200.       this.ctx.arc(flake.x, flake.y, flake.radius, 0, Math.PI * 2);
  201.       this.ctx.closePath();
  202.       this.ctx.globalAlpha = flake.alpha;
  203.       this.ctx.fill();
  204.       this.ctx.restore();
  205.     }
  206.     requestAnimationFrame(this.updateBound);
  207.   }
  208. }
  209. new Snow();
  210. //更多前往QQ沐编程
  211. // Simple CountDown Clock
  212. const comingdate = new Date("Feb 10, 2024 00:00:00");
  213. const d = document.getElementById("d");
  214. const h = document.getElementById("h");
  215. const m = document.getElementById("m");
  216. const s = document.getElementById("s");
  217. const countdown = setInterval(() => {
  218.   const now   = new Date();
  219.   const des   = comingdate.getTime() - now.getTime();
  220.   const days  = Math.floor(des / (1000 * 60 * 60 * 24));
  221.   const hours = Math.floor((des % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  222.   const mins  = Math.floor((des % (1000 * 60 * 60)) / (1000 * 60));
  223.   const secs  = Math.floor((des % (1000 * 60)) / 1000);
  224.   d.innerHTML = getTrueNumber(days);
  225.   h.innerHTML = getTrueNumber(hours);
  226.   m.innerHTML = getTrueNumber(mins);
  227.   s.innerHTML = getTrueNumber(secs);
  228.   if (x <= 0) clearInterval(x);
  229. }, 1000);
  230. const getTrueNumber = x => (x < 10 ? "0" + x : x);
  231. </script>
  232. <style>
  233. .deng-box1 {
  234.     position: fixed;
  235.     top: -30px;
  236.     left: 5px;
  237.     z-index: 9999;
  238.     pointer-events: none;
  239. }
  240. .deng {
  241.     position: relative;
  242.     width: 120px;
  243.     height: 90px;
  244.     margin: 50px;
  245.     background: #d8000f;
  246.     background: rgba(216, 0, 15, 0.8);
  247.     border-radius: 50% 50%;
  248.     -webkit-transform-origin: 50% -100px;
  249.     -webkit-animation: swing 3s infinite ease-in-out;
  250.     box-shadow: -5px 5px 50px 4px rgba(250, 108, 0, 1);
  251. }
  252. .deng::before {
  253.     position: absolute;
  254.     top: -7px;
  255.     left: 29px;
  256.     height: 12px;
  257.     width: 60px;
  258.     content: " ";
  259.     display: block;
  260.     z-index: 999;
  261.     border-radius: 5px 5px 0 0;
  262.     border: solid 1px #dc8f03;
  263.     background: #ffa500;
  264.     background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
  265. }
  266. .xian {
  267.     position: absolute;
  268.     top: -20px;
  269.     left: 60px;
  270.     width: 2px;
  271.     height: 20px;
  272.     background: #dc8f03;
  273. }
  274. .deng-box1 {
  275.     pointer-events: none;
  276. }
  277. .deng-a {
  278.     width: 100px;
  279.     height: 90px;
  280.     background: #d8000f;
  281.     background: rgba(216, 0, 15, 0.1);
  282.     margin: 12px 8px 8px 10px;
  283.     border-radius: 50% 50%;
  284.     border: 2px solid #dc8f03;
  285. }
  286. .deng-b {
  287.     width: 45px;
  288.     height: 90px;
  289.     background: #d8000f;
  290.     background: rgba(216, 0, 15, 0.1);
  291.     margin: -2px 8px 8px 26px;
  292.     border-radius: 50% 50%;
  293.     border: 2px solid #dc8f03;
  294. }
  295. .deng-t {
  296.     font-family: 华文行楷,Arial,Lucida Grande,Tahoma,sans-serif;
  297.     font-size: 1.5rem;
  298.     color: #ffa500;
  299.     font-weight: bold;
  300.     line-height: 42px;
  301.     text-align: center;
  302.     width: 25px;
  303.     margin: 0 auto;
  304. }
  305. .shui-a {
  306.     position: relative;
  307.     width: 5px;
  308.     height: 20px;
  309.     margin: -5px 0 0 59px;
  310.     -webkit-animation: swing 4s infinite ease-in-out;
  311.     -webkit-transform-origin: 50% -45px;
  312.     background: #ffa500;
  313.     border-radius: 0 0 5px 5px;
  314. }
  315. .shui-c {
  316.     position: absolute;
  317.     top: 18px;
  318.     left: -2px;
  319.     width: 10px;
  320.     height: 35px;
  321.     background: #ffa500;
  322.     border-radius: 0 0 0 5px;
  323. }
  324. .shui-b {
  325.     position: absolute;
  326.     top: 14px;
  327.     left: -2px;
  328.     width: 10px;
  329.     height: 10px;
  330.     background: #dc8f03;
  331.     border-radius: 50%;
  332. }
  333. .deng::after {
  334.     position: absolute;
  335.     bottom: -7px;
  336.     left: 10px;
  337.     height: 12px;
  338.     width: 60px;
  339.     content: " ";
  340.     display: block;
  341.     margin-left: 20px;
  342.     border-radius: 0 0 5px 5px;
  343.     border: solid 1px #dc8f03;
  344.     background: #ffa500;
  345.     background: linear-gradient(to right, #dc8f03, #ffa500, #dc8f03, #ffa500, #dc8f03);
  346. }
  347. .deng-box2 {
  348.     position: fixed;
  349.     top: -30px;
  350.     right: 5px;
  351.     z-index: 9999;
  352.     pointer-events: none;
  353. }
  354. .deng-box2 .deng {
  355.     position: relative;
  356.     width: 120px;
  357.     height: 90px;
  358.     margin: 50px;
  359.     background: #d8000f;
  360.     background: rgba(216, 0, 15, 0.8);
  361.     border-radius: 50% 50%;
  362.     -webkit-transform-origin: 50% -100px;
  363.     -webkit-animation: swing 5s infinite ease-in-out;
  364.     box-shadow: -5px 5px 30px 4px rgba(252, 144, 61, 1);
  365. }
  366. .deng-box2 {
  367.     pointer-events: none;
  368. }
  369. @-moz-keyframes swing {
  370.     0% {
  371.         -moz-transform: rotate(-10deg)
  372.     }
  373.     50% {
  374.         -moz-transform: rotate(10deg)
  375.     }
  376.     100% {
  377.         -moz-transform: rotate(-10deg)
  378.     }
  379. }
  380. @-webkit-keyframes swing {
  381.     0% {
  382.         -webkit-transform: rotate(-10deg)
  383.     }
  384.     50% {
  385.         -webkit-transform: rotate(10deg)
  386.     }
  387.     100% {
  388.         -webkit-transform: rotate(-10deg)
  389.     }
  390. }
  391. </style>
  392. <div class="deng-box1"> <div class="deng"> <div class="xian"></div> <div class="deng-a"> <div class="deng-b"><div class="deng-t">辞旧</div></div> </div> <div class="shui shui-a"><div class="shui-c"></div><div class="shui-b"></div></div> </div> </div>
  393. <div class="deng-box2"> <div class="deng"> <div class="xian"></div> <div class="deng-a"> <div class="deng-b"><div class="deng-t">迎新</div></div> </div> <div class="shui shui-a"><div class="shui-c"></div><div class="shui-b"></div></div> </div> </div>
  394. <div style="text-align:center;width:90%;left:5%;bottom:10px;position:fixed;">
  395.     <font size="1"><span style="color:gray">Copyright ? 2023-2024</span>   <a href="http://www.qqmu.com" target="_blank" style="text-decoration: none; color:gray" >QQ沐编程</a></font>
  396. </div>
  397. </body>
  398. </html>
复制代码

超帅的主页命令滚动特效HTML源码

超帅的主页命令滚动特效HTML源码

超帅的主页命令滚动特效HTML源码

超帅的主页命令滚动特效HTML源码

超帅的主页命令滚动特效HTML源码

超帅的主页命令滚动特效HTML源码
生无可恋
  在线 
灌水成绩
127
203
806
主题
回帖
积分

等级头衔
UID : 83
等级 : 版主

积分成就
威望 : 93 点
贡献 : 378 点
蛋壳 : 5714 枚
在线时间 : 1311 小时
注册时间 : 2024-4-17
最后登录 : 2024-9-17

荣誉勋章
 楼主| 发表于 2024-5-29 12:27:16 | 查看全部 来自: 中国–黑龙江–七台河
她太年轻了,殊不知命运馈赠的礼物已在暗地里标明了价格。
生无可恋
  离线 
灌水成绩
127
680
1706
主题
回帖
积分

等级头衔
UID : 94
等级 : 高级会员

积分成就
威望 : 147 点
贡献 : 737 点
蛋壳 : 144 枚
在线时间 : 177 小时
注册时间 : 2024-4-25
最后登录 : 2024-9-16

荣誉勋章

最佳新人实习版主活跃会员热心会员

发表于 2024-6-1 22:16:28 | 查看全部 来自: 中国–上海–上海
我擦,现在应该是要整2025年的吧
  在线 
灌水成绩
2168
16240
22205
主题
回帖
积分

等级头衔
UID : 79
等级 : 超级版主

积分成就
威望 : 1008 点
贡献 : 2344 点
蛋壳 : 50425 枚
在线时间 : 2574 小时
注册时间 : 2024-4-13
最后登录 : 2024-9-17

荣誉勋章

荣誉会员帅哥认证最佳新人活跃会员灌水之王实习版主推广达人宣传达人论坛元老热心会员优秀作者优秀版主超级版主部落真神

发表于 2024-6-29 13:30:18 | 查看全部 来自: 中国–上海–上海
滴~学生卡,打卡成功!楼主辛苦了,祝楼主:万事如意🧡,打卡时间:2024年06月29日 13:30:18
新帖通知群(钉钉群):点击查看
荷包蛋部落(QQ群):荷包蛋部落 - HBD0.CN
💥荷包蛋联盟-免费的自助广告-为广大用户提供宣传服务!💯
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1楼
2楼
3楼
4楼
投诉/建议联系

8641340@qq.com

欢迎各位朋友加入本社区,
共同维护良好的社区氛围
  • QQ用户交流群
  • 钉钉新帖推送群
Powered by Discuz! X3.5 Licensed  Copyright © 2001-2024 荷包蛋部落 版权所有 All Rights Reserved. 鲁ICP备20023396号-6
关灯 在本版发帖
加入钉钉新帖推送群
QQ客服返回顶部
快速回复 返回顶部 返回列表