惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Heimdal Security Blog
SecWiki News
SecWiki News
H
Hacker News: Front Page
N
News | PayPal Newsroom
L
LINUX DO - 最新话题
N
News and Events Feed by Topic
TaoSecurity Blog
TaoSecurity Blog
AI
AI
C
Cybersecurity and Infrastructure Security Agency CISA
Scott Helme
Scott Helme
PCI Perspectives
PCI Perspectives
S
Securelist
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Cyberwarzone
Cyberwarzone
A
Arctic Wolf
Forbes - Security
Forbes - Security
T
Tor Project blog
Spread Privacy
Spread Privacy
WordPress大学
WordPress大学
I
Intezer
Martin Fowler
Martin Fowler
Help Net Security
Help Net Security
P
Proofpoint News Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Cisco Talos Blog
Cisco Talos Blog
Latest news
Latest news
博客园 - 司徒正美
W
WeLiveSecurity
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
P
Palo Alto Networks Blog
Google DeepMind News
Google DeepMind News
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
V
Vulnerabilities – Threatpost
Jina AI
Jina AI
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
T
Threatpost
P
Privacy International News Feed
人人都是产品经理
人人都是产品经理
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
博客园 - Franky
Hugging Face - Blog
Hugging Face - Blog
Apple Machine Learning Research
Apple Machine Learning Research

gorpeln的个人博客 - gorpeln

免费领取Synology C2的30G对象存储空间 | gorpeln 用HuggingFace搭建100G超大图床 | gorpeln 毫无破绽的自我批评 | gorpeln's Blog 时光本的故事 - 始于热爱,归于珍藏 | gorpeln's Blog 给博客图片添加水印 | gorpeln's Blog 博客CDN流量异常 | gorpeln's Blog 一路生花 | gorpeln's Blog 10 周年:时光为证,与你共赴新程 | gorpeln's Blog 时光本 - 数据导出 | gorpeln's Blog 时光本 - 下线公告 | gorpeln's Blog 整蛊代码:你屏幕上有根毛 | gorpeln's Blog 博客阅读进度条 | gorpeln's Blog 手机真的在监听你的谈话? | gorpeln's Blog 使用Serv00部署在线工具箱 | gorpeln's Blog 自定义博客文章卡片 | gorpeln's Blog 个人博客可以尝试的 100 件事 | gorpeln's Blog MathJax的基本使用 | gorpeln's Blog Mac应用发布错误:ITMS-91109 | gorpeln's Blog 彩带、樱花背景 | gorpeln's Blog 节日倒计时与时间进度条 | gorpeln's Blog
春节灯笼 | gorpeln's Blog
gorpeln · 2024-12-21 · via gorpeln的个人博客 - gorpeln

想为你的博客增添浓浓的春节氛围吗?快来了解我们的独特功能!设定时间后,两个喜庆的灯笼将准时在博客右上角亮起,灯笼上 “新春快乐” 的祝福熠熠生辉,瞬间让你的博客充满节日的欢乐与温馨。这不仅是装饰,更是为访客送上真挚祝福的创意方式,快来探索如何让你的博客在春节别具一格吧。

效果
20241221151857323 方法

<link rel="stylesheet" type="text/css" href="../assets/css/deng.css">

注意:将文件下载到自己博客使用
https://gorpeln.top/assets/css/deng.css

html代码

<!-- 春节灯笼 -->
<div style="display:none;" id="lanterns">
    <div class="deng-box">
        <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>
    <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>
</div>
<!-- 春节灯笼 -->
<script>
document.addEventListener("DOMContentLoaded", function() {
    // 获取当前日期
    var currentDate = new Date();
    
    // 定义开始日期和结束日期
    var startDate = new Date('2025-01-22');//腊月廿三
    var endDate = new Date('2025-02-12');//正月十五

    // 获取 div 元素
    var specialDiv = document.getElementById('lanterns');

    // 检查当前日期是否在指定的日期范围内
    if (currentDate >= startDate && currentDate <= endDate) {
        // 如果在范围内,则显示 div
        specialDiv.style.display = 'block';
    } else {
        // 否则,隐藏 div
        specialDiv.style.display = 'none';
    }
});
</script>

最后编辑于:2026-01-21

如有任何知识产权、版权问题或理论错误,还请指正。转载请附上原文出处链接。