过年给网站加一对灯笼CSS代码

#推荐
过年给网站加一对灯笼CSS代码

2026-03-17 3
[!--dianshu--] C币
VIP折扣
    折扣详情
  • 体验VIP会员

    免费

  • 月卡VIP会员

    免费

  • 年卡VIP会员

    免费

  • 永久VIP会员

    免费

查看演示
下载不了?请联系网站客服提交链接错误!
TAG标签: 安装指导

#推荐
过年给网站加一对灯笼CSS代码

2026-03-17 php教程 9999 3
郑重承诺丨总裁主题提供安全交易、信息保真!
TAG标签:
安装指导
[!--dianshu--] C币
VIP权限详情
    会员权限详情
  • 体验VIP会员

    免费

  • 月卡VIP会员

    免费

  • 年卡VIP会员

    免费

  • 永久VIP会员

    免费

开通VIP尊享优惠特权
立即下载 等待添加 升级会员 最新活动
微信扫码咨询 微信扫码咨询

联系电话:18888888888

进入TA的商铺 联系官方客服
详情介绍

欢迎!我白天是个邮递员,晚上就是个有抱负的演员。这是我的网站。我住在天朝的帝都,有条叫做Jack的狗。

马上快过年了,给网站加一对红灯笼,这样才有过年的喜庆劲儿。灯笼是代码生成的无需图片,而且还会摆动。

使用方法

把HTML下面代码粘贴到网页BODY内任意位子都可以。灯笼的位子可以微调.deng-box的left和right数值。

CSS代码

<!-- 灯笼代码 --><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><div class="deng-box3">    <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 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><style type="text/css">    .deng-box {        position: fixed;        top: -40px;        right: 150px;        z-index: 9999;        pointer-events: none;    }    .deng-box1 {        position: fixed;        top: -30px;        right: 10px;        z-index: 9999;        pointer-events: none    }    .deng-box2 {        position: fixed;        top: -40px;        left: 150px;        z-index: 9999;        pointer-events: none    }    .deng-box3 {        position: fixed;        top: -30px;        left: 10px;        z-index: 9999;        pointer-events: none    }    .deng-box1 .deng,    .deng-box3 .deng {        position: relative;        width: 120px;        height: 90px;        margin: 50px;        background: #d8000f;        background: rgba(216, 0, 15, .8);        border-radius: 50% 50%;        -webkit-transform-origin: 50% -100px;        -webkit-animation: swing 5s infinite ease-in-out;        box-shadow: -5px 5px 30px 4px #fc903d    }    .deng {        position: relative;        width: 120px;        height: 90px;        margin: 50px;        background: #d8000f;        background: rgba(216, 0, 15, .8);        border-radius: 50% 50%;        -webkit-transform-origin: 50% -100px;        -webkit-animation: swing 3s infinite ease-in-out;        box-shadow: -5px 5px 50px 4px #fa6c00    }    .deng-a {        width: 100px;        height: 90px;        background: #d8000f;        background: rgba(216, 0, 15, .1);        margin: 12px 8px 8px 8px;        border-radius: 50% 50%;        border: 2px solid #dc8f03    }    .deng-b {        width: 45px;        height: 90px;        background: #d8000f;        background: rgba(216, 0, 15, .1);        margin: -4px 8px 8px 26px;        border-radius: 50% 50%;        border: 2px solid #dc8f03    }    .xian {        position: absolute;        top: -20px;        left: 60px;        width: 2px;        height: 20px;        background: #dc8f03    }    .shui-a {        position: relative;        width: 5px;        height: 20px;        margin: -5px 0 0 59px;        -webkit-animation: swing 4s infinite ease-in-out;        -webkit-transform-origin: 50% -45px;        background: orange;        border-radius: 0 0 5px 5px    }    .shui-b {        position: absolute;        top: 14px;        left: -2px;        width: 10px;        height: 10px;        background: #dc8f03;        border-radius: 50%    }    .shui-c {        position: absolute;        top: 18px;        left: -2px;        width: 10px;        height: 35px;        background: orange;        border-radius: 0 0 0 5px    }    .deng:before {        position: absolute;        top: -7px;        left: 29px;        height: 12px;        width: 60px;        content: " ";        display: block;        z-index: 999;        border-radius: 5px 5px 0 0;        border: solid 1px #dc8f03;        background: orange;        background: linear-gradient(to right, #dc8f03, orange, #dc8f03, orange, #dc8f03)    }    .deng:after {        position: absolute;        bottom: -7px;        left: 10px;        height: 12px;        width: 60px;        content: " ";        display: block;        margin-left: 20px;        border-radius: 0 0 5px 5px;        border: solid 1px #dc8f03;        background: orange;        background: linear-gradient(to right, #dc8f03, orange, #dc8f03, orange, #dc8f03)    }    .deng-t {        font-family: 黑体, Arial, Lucida Grande, Tahoma, sans-serif;        font-size: 3.2rem;        color: #dc8f03;        font-weight: 700;        line-height: 85px;        text-align: center    }    .night .deng-box,    .night .deng-box1,    .night .deng-t {        background: 0 0 !important    }    @-moz-keyframes swing {        0% {            -moz-transform: rotate(-10deg)        }        50% {            -moz-transform: rotate(10deg)        }        100% {            -moz-transform: rotate(-10deg)        }    }    @-webkit-keyframes swing {        0% {            -webkit-transform: rotate(-10deg)        }        50% {            -webkit-transform: rotate(10deg)        }        100% {            -webkit-transform: rotate(-10deg)        }    }</style>

下载地址
  • 提取密码
  • 1561
  • 解压密码
  • DWQwdewq
    立即免费下载
    过年给网站加一对灯笼CSS代码
收藏 (15) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 ()

所有文章为演示数据,不提供下载地址,版权归原作者所有,仅提供演示效果!

CMS主题网 php教程 过年给网站加一对灯笼CSS代码 /showinfo-48-10-0.html

我们只做高端Wordpress主题开发!

常见问题
  • 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。
查看详情
  • 最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用
查看详情

相关文章

帝国CMS二次开发 函数文件      PRinterror()/e/class/connect.phpline 132query()/e/class/db_sql.php line 10fetch1()/e/class/db_sql.php line 30fetch()/e/class/db_sql.php line 22checklevel()/e/class/functions.php line 3414insert_dolog()/e/class/functions.php line 3...
#推荐
2026-03-17 13 C币
Python开发一个ChatGPT GU      1、首先去下载这个ChatGPT库,用到的库是这个:https://github.com/acheong08/ChatGPT2、安装这个ChatGPT库:pip3 install revChatGPT==0.0.a423、同目录还需要一个“config.json”:{    &quot;session_token&quot;: &quot;&quot;,    &quot;cf_clearance&quot;: &quot;&quot;,    &quot;user_agent&quot;: &quot;
#推荐
2026-03-17 4 C币
帝国CMS判断当前数据库是      有时候我们需要判断数据库是否包含某字段,就可以使用下面这段SQL语法,$fr=$empire-&gt;fetch1(&quot;SELECT COUNT(*) AS column_exists FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = &amp;#39;$infotb&amp;#39; AND COLUMN_NAME = &amp;#39;money&amp;#39;&quot;);if($fr[&amp;...
#推荐
2026-03-17 3 C币
帝国CMS8.0父子信息调用方      帝国CMS8.0版新增父子信息功能,让一条信息也能成为一个信息、一个栏目、一个专题、甚至一个网站。本文共有四个部分:一、父子信息功能使用流程。二、调用子信息:可以用索引灵动标签调用。三、父子信息列表访问地址的语法说明。四、进阶:调用当前父子信息...
#推荐
2026-03-17 3 C币
Playwright闲鱼智能监控机      项目介绍Playwright闲鱼智能监控机器人项目,基于 Playwright 和AI过滤分析的闲鱼多任务实时监控与智能分析工具,配备了功能完善的 Web 管理界面。可以实时按规则抓取闲鱼商品,垃圾佬的最爱。闲鱼智能监控机器人:https://github.com/dingyufei615/ai-goof...
#推荐
2026-03-17 3 C币
ajax上传文件进度条功能示      ajax上传文件时,有时比较耗时,需要在界面上显示下进度信息,获取ajaxSettings中的xhr对象,为它的upload属性绑定progress事件的处理函数前端代码&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;head&gt;&lt;meta charset=&quot;utf8&quot;&gt;&lt;title&gt;test upload&lt;/title&gt;&lt;!--jquery--&gt;&lt;script src=&quot;h...
#推荐
2026-03-17 3 C币
帝国cms后台如何上传视频      方案一,通过编辑器上传1、上传文件之前,需要修改一下系统设置里面的文件设置,位置在:系统-系统设置-系统参数设置-文件设置修改附件上传大小和类型,1024KB是1M,2048KB就是2M。上传文件扩展名,增加一个.mp4,前面要用|来分开,也就是添加“|.mp4”2、完成上面的...
#推荐
2026-03-17 3 C币
HTML+JS开发一个网站状态      功能介绍HTML+JS开发一个网站状态检测网站,用来监测网站是否可以正常访问,可以快速知道自己网站运行状态。1. 网址管理功能添加网址:用户可以在输入框中输入要监测的网页地址,点击 “添加网址” 按钮,工具会对输入的网址进行格式验证。验证通过后,网址会被...
#推荐
2026-03-17 2 C币