Merry Christmas

emqx Java 订阅以及发送 结合若依框架 阅读详情

我的圣诞树写好啦~

第一颗圣诞树

参考链接:https://www.bilibili.com/video/BV1PZ4y1X7sY

展示

在这里插入图片描述

代码

HTML:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>圣诞树</title>
    <link rel="stylesheet" href="../css/MerryChristmas.css">
</head>

<body>
    
    <p class="word">Merry Christmas</p>

    <div class="tree">
        <div class="star">
            <div class="star-in"></div>
        </div>

        <div class="leaf-box">
            <!-- 树叶 -->
            <div class="leaf">
                <div class="edge"></div>
                <div class="edge right"></div>
            </div>
            <div class="leaf">
                <div class="edge"></div>
                <div class="edge right"></div>
            </div>
            <div class="leaf">
                <div class="edge"></div>
                <div class="edge right"></div>
            </div>
            <div class="leaf">
                <div class="edge"></div>
                <div class="edge right"></div>
            </div>
            <div class="leaf">
                <div class="edge"></div>
                <div class="edge right"></div>
            </div>
            <!-- 树干 -->
            <div class="trunk"></div>
            <!-- 彩色的球 -->
            <div class="ball-box">
                <div class="ball b1"></div>
                <div class="ball b2"></div>
                <div class="ball b3"></div>
                <div class="ball b4"></div>
                <div class="ball b5"></div>
                <div class="ball b6"></div>
                <div class="ball b7"></div>
                <div class="ball b8"></div>
                <div class="ball b9"></div>
            </div>
            <!-- 闪烁 -->
            <div class="sparkle">
                <span>◆</span>
                <span>◆</span>
                <span>◆</span>
                <span>◆</span>
                <span>◆</span>
                <span>◆</span>
                <span>◆</span>
                <span>◆</span>
            </div>
            <div class="blink">
                <div></div>
                <div></div>
                <div></div>
                <div></div>
                <div></div>
                <div></div>
            </div>
        </div>
    </div>

</body>
</html>

CSS:

html, body{
    width: 100%;
    height: 100%;
}


*{
    margin: 0;
    padding: 0;
}


body{
    background-color: #000;
}


.word{
    font-size: 22px;
    text-align: center;
    color: gold;
    padding-top: 50px;
    /*  */
    letter-spacing: 5px;  
    text-shadow: 2px 4px 9px rgba(255, 255, 255, 0.7);
}


.tree{
    width: 200px;
    height: 300px;
    margin: 80px auto 0 auto;
    position: relative;
    /* border: 1px solid #fff; */
}


.star{
    width: 50px;
    height: 50px;
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    top: -25px;
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
    /*  */
    animation: starLight 1.5s ease infinite alternate;
}


.star-in{
    position: absolute;
    left: 50%;
    top: 50%;
    border-right: 100px solid transparent;
    border-bottom: 70px solid gold;
    border-left: 100px solid transparent;
    transform: translateX(-50%) translateY(-50%) rotate(35deg) scale(0.14);
}


.star-in:before{
    position: absolute;
    left: -65px;
    top: -45px;
    content: '';
    border-right: 30px solid transparent;
    border-bottom: 80px solid gold;
    border-left: 30px solid transparent;
    transform: rotate(-35deg);
}


.star-in:after{
    position: absolute;
    left: -105px;
    top: -3px;
    content: '';
    border-right: 100px solid transparent;
    border-bottom: 70px solid gold;
    border-left: 100px solid transparent;
    transform: rotate(-70deg);
}


@keyframes starLight{
    0%{
        background: radial-gradient(ellipse at center,
        gold 0%,
        rgba(255, 240, 158, 0.5) 42%,
        rgba(255, 242, 173, 0.2) 58%,
        rgba(255, 255, 255, 0.1) 100%
        );
    }
    25%{
        background: radial-gradient(ellipse at center,
        gold 0%,
        rgba(255, 240, 158, 0.5) 40%,
        rgba(255, 242, 173, 0.2) 60%,
        rgba(255, 255, 255, 0.1) 100%
        );
    }
    50%{
        background: radial-gradient(ellipse at center,
        gold 0%,
        rgba(255, 240, 158, 0.5) 38%,
        rgba(255, 242, 173, 0.2) 62%,
        rgba(255, 255, 255, 0.1) 100%
        );
    }
    75%{
        background: radial-gradient(ellipse at center,
        gold 0%,
        rgba(255, 240, 158, 0.5) 36%,
        rgba(255, 242, 173, 0.2) 64%,
        rgba(255, 255, 255, 0.1) 100%
        );
    }
    100%{
        background: radial-gradient(ellipse at center,
        gold 0%,
        rgba(255, 240, 158, 0.5) 34%,
        rgba(255, 242, 173, 0.2) 66%,
        rgba(255, 255, 255, 0.1) 100%
        );
    }
}


.leaf{
    position: absolute;
    left: 50%;
    top: 3%;
    margin-left: -30px;
    background-color: rgb(14, 110, 14);
    width: 60px;
    height: 60px;
    border-radius: 0 10px 35px 10px;
    transform: rotate(45deg);
    box-shadow: 2px 7px 2px rgba(43, 43, 43, 0.2);
}


.edge{
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgb(14, 110, 14);
    width: 25px;
    height: 30px;
    border-radius: 0 10px 35px 10px;
    transform: translateY(50%) translateX(0);
}


.edge.right{
    position: absolute;
    /*  */
    left: unset;
    bottom: unset;
    top: 0;
    right: 0;
    background-color: rgb(14, 110, 14);
    width: 25px;
    height: 30px;
    border-radius: 0 10px 35px 10px;
    transform: translateY(0) translateX(50%);
}


.leaf:nth-child(even){
    background-color: #0f880f;
}


.leaf:nth-child(even) .edge{
    background-color: #0f880f;
}


.leaf:nth-child(1){
    z-index: 100;
    transform: rotate(45deg) scale(0.8);
}


.leaf:nth-child(2){
    z-index: 99;
    top: 15%;
    transform: rotate(45deg) scale(1.3);
}


.leaf:nth-child(3){
    z-index: 98;
    top: 28%;
    transform: rotate(45deg) scale(1.6);
}


.leaf:nth-child(4){
    z-index: 97;
    top: 41%;
    transform: rotate(45deg) scale(1.9);
}


.leaf:nth-child(5){
    z-index: 95;
    top: 54%;
    transform: rotate(45deg) scale(2.2);
}


.trunk{
    width: 25px;
    height: 45px;
    border-radius: 0 0 3px 3px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    z-index: 1;
    box-shadow: 0 0 10px 5px rgb(19, 19, 19);
    background: linear-gradient(0deg, #6d411b 0%, #5a341d 64%);
}


.ball{
    width: 20px;
    height: 20px;
    background-color: #f00;
    box-shadow: -1px -1px 6px inset #600, 1px 1px 8px inset #ffc9c9;
    border-radius: 50%;
    z-index: 101;
    position: absolute;
}


.b1{
    left: 25%;
    top: 30%;
}


.b2{
    left: 35%;
    top: 50%;
}


.b3{
    left: 65%;
    top: 20%;
}


.b4{
    left: 45%;
    top: 22%;
}


.b5{
    left: 40%;
    top: 72%;
}


.b6{
    left: 60%;
    top: 52%;
}


.b7{
    left: 50%;
    top: 62%;
}


.b8{
    left: 80%;
    top: 42%;
}


.b9{
    left: 10%;
    top: 62%;
}


.b4, .b5, .b6{
    background-color: #ececec;
    box-shadow: -1px -1px 6px #615f5f, 1px 1px 8px #fff;
}


.b7, .b8, .b9{
    background: gold;
    box-shadow: -1px -1px 6px inset #3a3101, 1px 1px 8px inset #fff;
}


.sparkle span{
    display: block;
    position: absolute;
    font-size: 20px;
    z-index: 101;
    color: #fff;
    animation: lights 1.5s ease infinite alternate;
}


/* 闪烁动画 */
@keyframes lights{
    0%, 100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.5);
    }
}


.sparkle span:nth-child(1){
    left: 24%;
    top: 40%;
}


.sparkle span:nth-child(2){
    left: 40%;
    top: 27%;
    font-size: 15px;
}


.sparkle span:nth-child(3){
    left: 50%;
    top: 57%;
    font-size: 12px;
}


.sparkle span:nth-child(4){
    left: 70%;
    top: 67%;
    font-size: 14px;
}


.sparkle span:nth-child(5){
    left: 8%;
    top: 56%;
    font-size: 12px;
}


.sparkle span:nth-child(6){
    left: 70%;
    top: 36%;
    font-size: 14px;
}


.sparkle span:nth-child(7){
    left: 88%;
    top: 20%;
    font-size: 12px;
}


.blink div{
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #fff;
    z-index: 101;
    position: absolute;
    animation: blink 1.5s ease infinite alternate;
}


@keyframes blink{
    0%{
        box-shadow: 0 0 0 0 #fff;
    }
    25%{
        box-shadow: 0 0 1px 1px #fff;
    }
    50%{
        box-shadow: 0 0 2px 2px #fff;
    }
    75%{
        box-shadow: 0 0 3px 3px #fff;
    }
    100%{
        box-shadow: 0 0 4px 4px #fff;
    }
}


.blink div:nth-child(1){
    transform: scale(0.6);
}


.blink div:nth-child(2){
    left: 88%;
    top: 66%;
    transform: scale(1.2);
}


.blink div:nth-child(3){
    left: 54%;
    top: 43%;
    transform: scale(0.6);
}


.blink div:nth-child(4){
    left: 64%;
    top: 33%;
    transform: scale(0.6);
}


.blink div:nth-child(5){
    left: 34%;
    top: 63%;
    transform: scale(1.4);
}


.blink div:nth-child(6){
    left: 14%;
    top: 73%;
    transform: scale(0.8);
}

学习新知识

1. letter-spacing属性

在这里插入图片描述
letter-spacing属性是增加(值为正)或减少(值为负)字符间距。
即当应用在英文时,就是增加或减少每个字母之间的间距;应用在中文文字中时就是每个汉字之间的间距。

2. css3 unset属性

在这里插入图片描述
unset 关键字我们可以理解为不设置,其实,它是关键字initial和inherit的组合。

当我们给一个css属性设置了unset的话,可以分为两种情况:

  1. 如果这个属性本来有从父级继承的值(这个属性默认可以继承,且父级有定义),则将该属性重新设置为继承的值,类似于inherit
  2. 如果没有继承父级样式,则将该属性重新设置为初始值,类似于initial。

一般left和right在一个样式中只能使用一次,同时使用会出现兼容问题,当浏览器解释代码的时候发现left和right同时存在时,就会放弃解释right。(放弃解释后优先级就派不上用场了,即使优先级最高的!important也不会作用。)
要想解决上述的优先级问题,这里用unset重置就可解决问题。

3. animation动画属性

在这里插入图片描述
在这里插入图片描述

动画就是使元素从一种样式逐渐变化为另一种样式的效果。

创建动画的原理是,将一套 CSS 样式逐渐变化为另一套样式。在动画过程中我们能够多次改变这套 CSS 样式。以百分比来规定改变发生的时间,或者通过关键词 from 和 to,等价于 0% 和 100%。

语法:

animation: name duration timing-function delay iteration-count direction;

在这里插入图片描述

钢结构焊接连接工艺 阅读详情

相关推荐

PostGIS 小白入门详细指南

PostGIS 是 PostgreSQL 的一个扩展,它将 PostgreSQL 转变为一个功能强大的空间数据库,使其能够存储、查询和分析地理空间数据。PostGIS 遵循开放地理空间联盟(OGC)的标准,支持各种空间数据类型和操作,如点、线、多边形、缓冲区、空间连接等。存储各种空间数据类型(如几何类型和地理类型)空间索引,提高查询性能丰富的空间函数和操作支持投影和坐标系统转换城市规划与管理环境监测与分析物流与运输优化地图制作与可视化位置服务与导航。

落魄书生的职业学习生涯 1万+

Merry Christmas Sql Statement

这段Merry christmas的查询来源于Gilles Haro的博客,不过看到的时候已经是27号了,呵呵! * * * 本文转自maclean_007 51CTO博客,原文链接: http://blog.51cto.com/maclean/1277674 ...

weixin_34235105的博客 89

Spring Boot Admin 完整教程

SpringBootAdmin是一个用于管理和监控SpringBoot应用的Web工具,提供健康检查、性能指标、日志管理等核心功能。系统由AdminServer(管理服务器)和AdminClient(客户端)组成,通过Actuator端点收集数据。配置需添加Maven/Gradle依赖,通过@EnableAdminServer注解启动服务端,客户端需配置注册信息。支持UI自定义、安全认证(基本/OAuth2)、多种通知方式(邮件/Slack)及与Eureka/Consul等服务发现的集成。最佳实践包括分层监

weixin_51040479的博客 2553

二进制的“Merry Christmas”

世界很复杂,但代码很诚实。愿你在0和1的世界里,找到确定的幸福。愿做你代码海洋里的灯塔,照亮Bug,也照亮回家的路。(这是二进制的“Merry Christmas”),今晚不挖矿,只挖空圣诞老人的礼物袋分给你一点甜。但请记住,每一行沉默的代码都在为未来蓄力。

yescodigger的博客 279

Python实现安居客新房数据抓取简易版

本文介绍使用Python爬取安居客新房楼盘数据的方法,重点针对三四线城市。通过分析移动端H5页面结构,采用滚动加载方式获取推荐楼盘列表(class="recomm-list"),从中提取楼盘ID并拼接详情页链接。代码展示了如何解析HTML标签获取楼盘名称、状态、价格、户型等基本信息,并处理图片URL。爬取过程涉及一个一级页面和两个二级页面,同时提到可能遇到的验证码问题将在后续处理。核心代码使用BeautifulSoup解析HTML,requests发送请求,并将数据存入MySQL数据库。

qq_37604998的博客 474

5G时代必知:LDPC与Polar码实战解析(附MATLAB仿真代码)

本文深入解析5G时代核心信道编码技术LDPC码与Polar码的原理差异及性能表现,通过MATLAB仿真代码展示其在实际通信系统中的应用。LDPC码适用于大数据块高速传输,而Polar码在小数据块低时延场景表现优异,帮助开发者优化5G系统设计。

sugar的博客 642

Merry Christmas 20201224

百度下载圣诞老人图片: 0000_src=http___inews.gtimg.com_newsapp_bt_0_12942479044_641&refer=http___inews.gtimg.jpg 放到axure里面: 量出正方形:633 X 633,9格图,需要三等分就是211 X 211,需要定位中心,往下面看 运行:发布这个页面 开始下载9张图片,搞定 ...

qq 117791303 538

AD9176 双通道高速DAC调试记录

AD9176是一款高性能双通道16位数模转换器,支持高达12.6GSPS采样率,专为多频段无线应用设计。该器件集成8通道15.4Gbps JESD204B接口,支持复数/实数数据输入,每通道最大输入速率达3.08GSPS。关键特性包括:48位高精度NCO、灵活的插值滤波器(最高12倍)、优异的动态性能(SFDR达-83dBc@1.84GHz)以及多芯片同步功能。硬件调试需重点关注时钟配置(建议250M基准时钟)、JESD参数匹配及交流耦合设计。测试指标要求SFDR>55dBc@312MHz,实测值可达65d

universaldata的博客 1489

Merry christmas!2020

_ .-(_) / _/ .-' \ / '. ,-~--~-~-~-~-, {__.._...__....

keny-大成的博客 399

位置点位到达判断FC(Easy+Codesys+博途平台)

IN rActPositon REAL 轴当前实际位置 1IN arAbsPosition REAL[10] 各工作点位坐标 2IN rDeadZone REAL 位置达到判断域值 范围 3OUT abInAbsPos BOOL[10] 到达各绝对定位点位标志 位置到达输出 4VAR i INT 循环计数 5VAR rErr REAL 位置偏差 6。

RXXW_Dor的博客 531

Serial RapidIO Gen2 IP 说明(一)

概述 高速IO(RapidIO)互联架构,用来兼容当前最流行的集成通信处理器、主处理器、联网的数字信号处理器,是一种高性能、分组交换(报文交换)的互联技术。它解决了高性能嵌入式产业稳定性、高带宽以及系统内部更快的总线速率的需求。 高速IO(RapidIO)标准由三层定义:逻辑层、传输层、物理层。逻辑层定义了所有的协议内容和报文格式。这些是终端发起和完成一次传输所必需的信息。传输层提供了报文从一个端点传输到另外一个端点必要的路线信息。物理层则描述了设备级的端口声明,如报...

记录所学,分享知识,结识挚友 1497

Merry Merry Christmas, Lonely Lonely Christmas

Merry Merry Christmas, Lonely Lonely Christmas-----Eason的圣诞结    就像歌词里的某一句:心碎得像街上的纸屑    想祝福不知该给谁                                            写了卡片能寄给谁     谁来陪我过这圣诞节   太喜欢Eason的曲调及风格,每一首歌都很经典,总能唱到心里

foreverlover123的专栏 684

anaconda navigator 卡在loading application界面一直没有反应解决办法

在打开anaconda navigator 程序的时候,遇到了2个问题。第一个问题:打开的时候弹出提示:There is an instance of Anaconda Navigator already running.第二个问题:程序一直卡在loading application界面一直没有反应。以下是我的解决办法,有效果。

猿小白的博客 4383

Merry Christmas HTML

简单分享 Merry Christmas HTML 设计的核心代码。

weixin_48591974的博客 761

android 蓝牙通讯demo

android 下蓝牙通讯demo,实现了发现蓝牙,使能蓝牙,通过蓝牙发送消息。

复分析 阿尔福斯(Ahlfors) 第三版答案 英文

答案分为十章,有部分习题没有答案,全英文复分析阿尔福斯(Ahlfors) 第三版答案

MERRY CHRISTMAS

昨天的百名矿大校友的平安夜聚会让我... 1.兴奋好多新面孔, 却好象很熟悉, 大家互相问着专业, 年纪, 好不热闹, 矿大男生保留了特有的朴实风格, 没有因为是一场隆重的聚会就刻意打扮, 而女生, 一个比一个的入时漂亮, 我这才发现, 我自己忽略了, 只穿了黑衣, 一点装饰都没有, 情急之下, 拉过麦麦的水晶项链挂在脖子上, 真是不肯输的心理作祟. 2.忙乱带着宝宝真不方便, 或许人

blogremover的专栏 513

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

Merry Christmas Mr. Lawrence

Lawrence - FYII give you my heartHold on, let me sign itYour senorita aka your best friendHereby, let it be knownLove like never beforeIm always at your serviceYou just have to holler at meNYC, N...

addkpfk1986的博客 301

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

Merry Christmas Eve

#password1.pypwd = raw_input('what is the password?')if pwd =='apple': print('Merry Christmas Eve!')else: print("You're a idiot!")print('Haha!')

momo的博客 471

Merry Christmas!

无论万水千山我离你只是一个转身的距离让我的心伴你在这个平安夜里共舞

踏雪寻梅 810

用c语言表达圣诞节快乐的英文,双语:Merry Christmas 圣诞节快乐用英语怎么说

原标题:双语:Merry Christmas 圣诞节快乐用英语怎么说新东方在线英语学习网第一时给大家带来了双语:Merry Christmas 圣诞节快乐用英语怎么说。每年的12月25日是西方传统节日圣诞节。关于这个节日,你有多少了解呢?更多有关圣诞节英语的内容,尽在新东方在线英语学习网。 圣诞节(Christmas或Cristo Messa),译名为“基督弥撒”。弥撒是教会的一种礼拜仪式。圣诞节...

weixin_30851655的博客 768
上一篇: 包含项目组的下拉列表 select-optgroup-option
下一篇: 使用localStorage进行页面间传值
不知-_
博客等级 码龄8年 22粉丝 52原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

不知-_

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值