css酷炫边框

边框一
在这里插入图片描述

.leftClass {background: #000;/* -webkit-animation: twinkling 1s infinite ease-in-out; 1秒钟的开始结束都慢的无限次动画 */
}
.leftClass::before {content: "";width: 104%;height: 102%;border-radius: 8px;background-image: linear-gradient(var(--rotate), #1e2ce7, #0a0f90 43%, #03035a);position: absolute;z-index: -1;top: -1%;left: -2%;animation: spin 2.5s linear infinite;
}
.leftClass::after {position: absolute;content: "";top: calc(var(--card-height) / 6);left: 0;right: 0;z-index: -1;height: 100%;width: 100%;margin: 0 auto;transform: scale(0.8);filter: blur(calc(var(--card-height) / 6));background-image: linear-gradient(var(--rotate),#1e2ce7, #0a0f90 43%, #03035a);opacity: 1;transition: opacity .5s;animation: spin 2.5s linear infinite;
}
.leftClass:hover {color: rgb(88 199 250 / 100%);transition: color 1s;
}
.leftClass:hover:before, .leftClass:hover:after {animation: none;opacity: 0;
}
边框二```cpp
.leftClass {width: 32%;height: auto;-webkit-animation: twinkling 1s infinite ease-in-out; 
}
@-webkit-keyframes twinkling{	0% {border-color: #240eea;box-shadow: 0 0 10px rgba(29, 84, 237, 0.2), inset 0 0 10px rgba(13, 63, 201, 0.1), 0 1px 0 rgb(51, 68, 153);}100% {border-color: rgb(44, 15, 206);box-shadow: 0 0 25px rgba(29, 84, 237,.6), inset 0 0 15px rgba(13, 63, 201, 0.4), 0 1px 0 rgb(36, 21, 174);}}

边框三
在这里插入图片描述

div {position: relative;border: 1px solid #03A9F3;&::before,&::after {content: "";position: absolute;width: 20px;height: 20px;}&::before {top: -5px;left: -5px;border-top: 1px solid var(--borderColor);border-left: 1px solid var(--borderColor);}&::after {right: -5px;bottom: -5px;border-bottom: 1px solid var(--borderColor);border-right: 1px solid var(--borderColor);}&:hover::before,&:hover::after {width: calc(100% + 9px);height: calc(100% + 9px);}
}

边框四
在这里插入图片描述

.leftClass {width:300px;height: 500px;border: 2px solid #00a1ff;border-radius: 8px;box-shadow: rgba(0, 253, 219, 0.5) 0px 0px 20px inset;background: linear-gradient(to left, #00fd15, #00fd15) left top no-repeat,linear-gradient(to bottom, #00fd15, #00fd15) left top no-repeat,linear-gradient(to left, #00fd15, #00fd15) right top no-repeat,linear-gradient(to bottom, #00fd15, #00fd15) right top no-repeat,linear-gradient(to left, #00fd15, #00fd15) left bottom no-repeat,linear-gradient(to bottom, #00fd15, #00fd15) left bottom no-repeat,linear-gradient(to left, #00fd15, #00fd15) right bottom no-repeat,linear-gradient(to left, #00fd15, #00fd15) right bottom no-repeat;background-size: 0.5px 10px, 10px 1px, 1px 10px, 10px 1px;
}
.leftClass::before {position: absolute;content: "";top: -2px;bottom: -2px;left: 30px;width: calc(100% - 60px);border-top: 2px solid #016886;border-bottom: 2px solid #016886;z-index: 0;
}
.leftClass::after {position: absolute;content: "";top: 30px;right: -2px;left: -2px;height: calc(100% - 60px);border-right: 2px solid #016886;border-left: 2px solid #016886;z-index: 0;
}

边框五 流星(边框看着是动起来的)
在这里插入图片描述

<div><i class="top"></i><i class="bottom"></i>
</div>
.leftClass {width: 32%;height: auto;border: 1px solid #121f71;overflow: hidden;i {position: absolute;display: inline-block;height: 4px;width: 100%;}.bottom {bottom: 0;left: -100%;background-image: linear-gradient(270deg,transparent,#74efff,transparent);animation: one 4s linear 1s infinite;}.top {top: 0;right: -100%;background-image: linear-gradient(270deg,transparent,#74efff,transparent);animation: three 4s linear 3s infinite;}
}
.leftClass::before {content: ' ';position: absolute;width: 4px;height: 100%;top: -100%;left: 0;background-image: linear-gradient(0deg,transparent,#74efff,transparent);animation: two 4s linear infinite;}.leftClass::after {content: ' ';position: absolute;width: 4px;height: 100%;bottom: -100%;right: 0;background-image: linear-gradient(360deg,transparent,#74efff,transparent);animation: four 4s linear 2s infinite;}@keyframes one {0% {left: -100%;}50%,100% {left: 100%;}
}@keyframes two {0% {top: -100%;}50%,100% {top: 100%;}
}@keyframes three {0% {right: -100%;}50%,100% {right: 100%;}
}@keyframes four {0% {bottom: -100%;}50%,100% {bottom: 100%;}
}

其他好看的
https://www.php.cn/faq/484335.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/786514.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

正则表达式引擎库汇合

1.总览表格 一些正则表达式库的对比 index库名编程语言说明代码示例编译指令1Posix正则C语言是C标准库中用于编译POSIX风格的正则表达式库 posix-re.cgcc posix-re.c 2PCRE库C语言提供类似Perl语言的一个正则表达式引擎库。 一般系统上对应/usr/lib64/libpcre.so这个库文件&am…

柔性数组详细讲解

动态内存函数的使用和综合实践-malloc&#xff0c;free&#xff0c;realloc&#xff0c;calloc-CSDN博客https://blog.csdn.net/Jason_from_China/article/details/137075045 柔性数组存在的意义 柔性数组在编程语言中指的是可以动态调整大小的数组。相比固定大小的数组&#…

Redis中惰性策略的启发和流量包应用设计

引言 在技术领域&#xff0c;许多中间件之所以获得巨大成功&#xff0c;部分原因在于它们所采用的思想之先进。这些思想解决了一个个世纪难题&#xff0c;接下来我将讲述一个我学习到的思想&#xff0c;并将其应用至工作中的案例。 惰性策略在日常编码中随处可见&#xff0c;但…

STL容器的一些操作(常用的,不全)

目录 string 1.string的一些创建 2.string 的读入和输出&#xff1a; 3.string的一些操作 4.彻底清空string 容器的函数 vector 1.vector的一些创建&#xff1a; 2.vector的一些操作&#xff1a; 3.vector的彻底清空并释放内存&#xff1a; queue 循环队列&#xff1…

兑换码生成算法

兑换码生成算法 兑换码生成算法1.兑换码的需求2.算法分析2.重兑校验算法3.防刷校验算法 3.算法实现 兑换码生成算法 兑换码生成通常涉及在特定场景下为用户提供特定产品或服务的权益或礼品&#xff0c;典型的应用场景包括优惠券、礼品卡、会员权益等。 1.兑换码的需求 要求如…

【DevOps工具篇】安装 LDAP 管理 GUI PhpLdapAdmin

【DevOps工具篇】安装 LDAP 管理 GUI PhpLdapAdmin 目录 【DevOps工具篇】安装 LDAP 管理 GUI PhpLdapAdmin启用远程管理功能安装 phpLDAPadmin对 phpLDAPadmin 进行补丁Apache 的配置编辑配置文件推荐超级课程: Docker快速入门到精通Kubernetes入门到大师通关课AWS云服务快速…

Pointnet++分类和分割数据集准备和实验复现

5.分类数据集Modelnet40及可视化 Modelnet40分类数据集 原始的modelnet40是off文件&#xff0c;是cad模型 OFF文件是一种用于存储三维对象信息的文件格式&#xff0c;全称为"Object File Format"。它主要用于存储几何体的顶点、边和面信息&#xff0c;以及可能的颜…

面对复杂多变的网络攻击,企业应如何守护网络安全

企业上云&#xff0c;即越来越多的企业把业务和数据&#xff0c;迁移到云端。随着云计算、大数据、物联网、人工智能等技术的发展&#xff0c;用户、应用程序和数据无处不在&#xff0c;企业之间的业务边界逐渐被打破&#xff0c;网络攻击愈演愈烈&#xff0c;手段更为多。 当前…

未来的发展趋势-无服务架构-即将到来-让我们欢呼吧

无服务架构&#xff08;Serverless Architecture&#xff09;是一种颠覆性的云计算架构范式&#xff0c;旨在简化应用程序开发和部署过程&#xff0c;提高开发效率和降低成本。在传统的基础设施即服务&#xff08;IaaS&#xff09;和平台即服务&#xff08;PaaS&#xff09;模型…

uni app 扫雷

闲来无聊。做个扫雷玩玩吧&#xff0c;点击打开&#xff0c;长按标记&#xff0c;标记的点击两次或长按取消标记。所有打开结束 <template><view class"page_main"><view class"add_button" style"width: 100vw; margin-bottom: 20r…

Pytorch实用教程:torch.from_numpy(X_train)和torch.from_numpy(X_train).float()的区别

在PyTorch中&#xff0c;torch.from_numpy()函数和.float()方法被用来从NumPy数组创建张量&#xff0c;并可能改变张量的数据类型。两者之间的区别主要体现在数据类型的转换上&#xff1a; torch.from_numpy(X_train)&#xff1a;这行代码将NumPy数组X_train转换为一个PyTorch张…

Docker容器监控之CAdvisor+InfluxDB+Granfana

介绍&#xff1a;CAdvisor监控收集InfluxDB存储数据Granfana展示图表 目录 1、新建3件套组合的docker-compose.yml 2、查看三个服务容器是否启动 3、浏览cAdvisor收集服务&#xff0c;http://ip:8080/ 4、浏览influxdb存储服务&#xff0c;http://ip:8083/ 5、浏览grafan…

如何利用CSS实现文字滚动效果

1. 使用CSS3的animation属性 CSS3的animation属性可以让元素在一段时间内不停地播放某个动画效果。我们可以利用这个特性来实现文字滚动效果。 我们需要定义一个包含所有需要滚动的文本的容器元素。比如&#xff1a; <div class"scroll-container"><p>…

【每日一道算法题】有序数组的平方、长度最小的子数组

文章目录 有序数组的平方写在前面题目思路解析暴力解法双指针法 我的代码暴力解法双指针法 参考答案解法暴力方法双指针法 长度最小的子数组原题思路解析暴力法滑动窗口法 我的代码官方题解滑动窗口法 有序数组的平方 写在前面 本人是一名在java后端寻路的小白&#xff0c;希…

JAV八股--redis

如何保证Redis和数据库数据一致性 关于异步通知中消息队列和Canal的内容。 redisson实现的分布式锁的主从一致性 明天继续深入看这个系列问题 介绍IO复用模型

【机器学习300问】59、计算图是如何帮助人们理解反向传播的?

在学习神经网络的时候&#xff0c;势必会学到误差反向传播&#xff0c;它对于神经网络的意义极其重大&#xff0c;它是训练多层前馈神经网络的核心算法&#xff0c;也是机器学习和深度学习领域中最为重要的算法之一。要正确理解误差反向传播&#xff0c;不妨借助一个工具——计…

代码随想录算法训练营第24天|理论基础 |77. 组合

理论基础 jia其实在讲解二叉树的时候&#xff0c;就给大家介绍过回溯&#xff0c;这次正式开启回溯算法&#xff0c;大家可以先看视频&#xff0c;对回溯算法有一个整体的了解。 题目链接/文章讲解&#xff1a;代码随想录 视频讲解&#xff1a;带你学透回溯算法&#xff08;理…

第22章-路由协议概述

1. 定义 2. 路由协议的功能 3. 路由协议的分类 1. 定义 1)概述: 路由协议(Routing Protocol):计算、维护路由信息的协议; 功能:根据相应的算法产生路由,确定路由的有效性,维护路由; 常见路由协议:RIP、OSPF、BGP等; 2)路由协议与可路由协议 路由协议:实现路由选择的…

gpt的构造和原理

gpt是序列预测模型。 问答是通过确定问答格式样本训练出来的&#xff01;比如“Q&#xff1a;xxxx.A:xxx"本质还是根据前面的序列预测后面的序列。在自回归训练过程中&#xff0c;文本序列&#xff08;可能包含问题和紧随其后的答案&#xff09;被视为一个整体输入到模型…

深入理解数据结构——堆

前言&#xff1a; 在前面我们已经学习了数据结构的基础操作&#xff1a;顺序表和链表及其相关内容&#xff0c;今天我们来学一点有些难度的知识——数据结构中的二叉树&#xff0c;今天我们先来学习二叉树中堆的知识&#xff0c;这部分内容还是非常有意思的&#xff0c;下面我们…