css效果

ops/2024/11/24 7:41:38/

css_0">css炫彩流光圆环效果

在这里插入图片描述

<!DOCTYPE html>
<html><head><meta charset="utf-8" /><title></title><style>*{margin: 0;padding: 0;}body{width: 100%;height: 100vh;}.container{position: relative;width: 100%;height: 100vh;display: flex;justify-content: center;align-items: center;background-color: #000;}.circle{display: flex;justify-content: center;align-items: center;position: absolute;width: 200px;height: 200px;border-radius: 50%;background-image: linear-gradient(0deg,rgb(47,102,255),rgb(153,64,255) 30%,rgb(238,55,255) 60%,rgb(255,0,76) 100%);animation: rotate 1s linear infinite;}.circle::before{content: "";position: absolute;width: 200px;height: 200px;border-radius: 50%;background-image: linear-gradient(0deg,rgb(47,102,255),rgb(153,64,255) 30%,rgb(238,55,255) 60%,rgb(255,0,76) 100%);filter: blur(35px);}.circle::after{content: "";position: absolute;width: 160px;height: 160px;border-radius: 50%;background: #000;}span{position: absolute;color: #fff;}@keyframes  rotate{0%{transform: rotate(0deg);}100%{transform: rotate(360deg);}}</style></head><body><div class="container"><div class="circle"></div></div></body>
</html>

CSS视频播放3D立方体

在这里插入图片描述

<!DOCTYPE html>
<html><head><meta charset="utf-8" /><title></title><style>*{margin: 0;padding: 0;box-sizing: border-box;}body{background: #000;}.container{position: relative;width: 100%;height: 100vh;}.container .box{position: absolute;top: calc(50% - 200px );left: calc(50% - 200px );width: 400px;height: 400px;transform-style: preserve-3d;transform: rotateX(-20deg) rotateY(23deg) translate3d(0,0,-12px);}.container .box > div{position: absolute;top: 0;left: 0;width: 100%;height: 100%;transform-style: preserve-3d;}.container .box > div span{position: absolute;top: 0;left: 0;display: block;width: 100%;height: 100%;border: 1px solid rgba(0,0,0,1);background: #ccc;}.container .box > div span video{position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;filter: blur(0);}.container video{position: absolute;top: 0;left: 0;width: 100%;height: 100%;object-fit: cover;filter: blur(20px);}.container .box > div span:nth-child(1){transform: rotateX(0deg) translate3d(0,0,200px);}.container .box > div span:nth-child(2){transform: rotateX(-90deg) translate3d(0,0,-200px);}.container .box > div span:nth-child(2) video{transform: rotateY(180deg);}.container .box > div span:nth-child(3){transform: rotateY(-90deg) translate3d(0,0,200px);}</style></head><body><div class="container"><span><video src="./video.mp4" autoplay="" muted="" loop=""></video></span><div class="box"><div><span><video src="./video.mp4" autoplay="" muted="" loop=""></video></span><span><video src="./video.mp4" autoplay="" muted="" loop=""></video></span><span><video src="./video.mp4" autoplay="" muted="" loop=""></video></span></div></div></div></body>
</html>

CSS水波纹效果

在这里插入图片描述

<!DOCTYPE html>
<html><head><meta charset="utf-8" /><title></title><style>body{margin: 0;padding: 0;background: #3498db;}.container{position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%) rotateX(70deg);}.ripple{position: fixed;top: 0;transform: translateX(-50%);width: 20px;height: 20px;border-radius: 50%;animation: ripple 4s linear infinite;}.r2{animation-delay: 0.8s;}.r3{animation-delay: 1.6s;}.r4{animation-delay: 2.4s;}.r5{animation-delay: 3.2s;}.r6{animation-delay: 4s;}@keyframes ripple{from{border:4px solid #8e44ad;background: #9b59b670; }to{border: 0px solid #8E44AD;background: #9b59b670;width: 400px;height: 400px;top: 20px;opacity: 0;}}</style></head><body><div class="container"><span class="ripple r1"></span><span class="ripple r2"></span><span class="ripple r3"></span><span class="ripple r4"></span><span class="ripple r5"></span><span class="ripple r6"></span></div></body>
</html>

CSS面条加载效果

在这里插入图片描述

<!DOCTYPE html>
<html><head><meta charset="utf-8"><title></title><style>body{margin: 0;padding: 0;background: #2980b9;}.loading{position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);height: 40px;display: flex;align-items: center;}.ogj{width: 6px;height: 40px;background: white;margin: 0 3px;border-radius: 10px;animation: loading 0.8s infinite;}.ogj:nth-child(2){animation-delay: 0.1s;}.ogj:nth-child(3){animation-delay: 0.2s;}.ogj:nth-child(4){animation-delay: 0.3s;}.ogj:nth-child(5){animation-delay: 0.4s;}.ogj:nth-child(6){animation-delay: 0.5s;}.ogj:nth-child(7){animation-delay: 0.6s;}.ogj:nth-child(8){animation-delay: 0.7s;}@keyframes loading{0%{heigth:0;}50%{height: 40px;}100%{height: 0;}}</style></head><body><div class="loading"><div class="ogj"></div><div class="ogj"></div><div class="ogj"></div><div class="ogj"></div><div class="ogj"></div><div class="ogj"></div><div class="ogj"></div><div class="ogj"></div></div></body>
</html>

用CSS写一本书

在这里插入图片描述

<!DOCTYPE html>
<html><head><meta charset="utf-8" /><title></title><style>*{margin: 0;padding: 0;}body{display: flex;justify-content: center;align-items: center;min-height: 100vh;background: rgb(250,250,250);background-attachment: fixed;background-size: cover;}.book{position: relative;top: 0;width: 400px;height: 600px;background: #fff;transform: rotate(-37.5deg) skewX(10deg);box-shadow: -35px 35px 50px rgba(0,0,0,1);transition: 0.5s;}.book:hover{transform: rotate(-37.5deg) skewX(10deg) translate(20px, -20px);box-shadow: -50px 50px 100px rgba(0,0,0,1);}.book:before{content: '';width: 30px;height: 100%;background: url(https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1588900098&di=b41905c683262ede66a811bc539d8368&src=http://hbimg.b0.upaiyun.com/6fc64b52819c57b640f8d385c87f20ef740e728612a9e-hI3dqx_fw658);position: absolute;top: 0;left: 0;transform: skewY(-45deg) translate(-30px,-15px);box-shadow: inset -10px 0 20px rgba(0,0,0,0.2);}.book:after{content: '';width: 100%;height: 30px;background: #ccc;position: absolute;bottom: 0;left: 0;transform: skewX(-45deg) translate(15px,30px);}.book h2{position: absolute;bottom: 100px;left: 35px;font-size: 5em;line-height: 1em;color: #fff;}.book h2 span{background: url(https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1588900098&di=b41905c683262ede66a811bc539d8368&src=http://hbimg.b0.upaiyun.com/6fc64b52819c57b640f8d385c87f20ef740e728612a9e-hI3dqx_fw658);background-attachment: fixed;-webkit-background-clip: text;-webkit-text-fill-color: transparent;}.book .writer{position: absolute;bottom: 20px;right: 20px;color: #3262626;font-size: 0.6em;padding-top: 5px;font-weight: 500;border-top-left-radius: 1px soild #262626;}.book .writer i{font-weight: 700;}.book .cover{position: absolute;top: 0;left: 0;width: 100%;height: 70%;				background: url(https://ss0.bdstatic.com/94oJfD_bAAcT8t7mm9GUKT-xh_/timg?image&quality=100&size=b4000_4000&sec=1588900098&di=b41905c683262ede66a811bc539d8368&src=http://hbimg.b0.upaiyun.com/6fc64b52819c57b640f8d385c87f20ef740e728612a9e-hI3dqx_fw658);background-size: cover;}</style></head><body><div class="book"><div class="cover"></div><h2>Book</br><span>Mockup</span></h2><span class="writer">Designed By <i>Muhammad Irshad</i></span></div></body>
</html>

CSS彩条加载动画效果

在这里插入图片描述

<!DOCTYPE html>
<html><head><meta charset="utf-8" /><title></title><style>body{margin: 0;padding: 0;background: #f1f1f1;}.loading{position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%) rotate(75deg);width: 15px;height: 15px;}.loading::before,.loading::after{content: "";position: absolute;top: 50%;left: 50%;transform: translate(-50%,-50%);width: 15px;height: 15px;border-radius: 15px;animation: loading 1.5s infinite linear;}.loading::before{box-shadow: 15px 15px #e77f67, -15px -15px #778beb;}.loading::after{box-shadow: 15px 15px #f8a5c2, -15px -15px #f5cd79;transform: translate(-50%,-50%) rotate(90deg);}@keyframes loading{50%{height:45px;}}</style></head><body><div class="loading"></div></body>
</html>

http://www.ppmy.cn/ops/136257.html

相关文章

【微软:多模态基础模型】(5)多模态大模型:通过LLM训练

欢迎关注[【youcans的AGI学习笔记】](https://blog.csdn.net/youcans/category_12244543.html&#xff09;原创作品 【微软&#xff1a;多模态基础模型】&#xff08;1&#xff09;从专家到通用助手 【微软&#xff1a;多模态基础模型】&#xff08;2&#xff09;视觉理解 【微…

Gate学习(5) 指令学习2

一、gate目录下指令 ls /gate 以下是gate中各个目录下的指令及其使用示例和说明: /gate/actor/ ### /gate/actor/addActor - **命令**:`/gate/actor/addActor` - **说明**:这个命令用于在Gate中添加一个新的传感器,也就是我们通常所说的“演员”(Actor)。通过这个命令…

从搭建uni-app+vue3工程开始

技术栈 uni-app、vue3、typescript、vite、sass、uview-plus、pinia 一、项目搭建 1、创建以 typescript 开发的工程 npx degit dcloudio/uni-preset-vue#vite-ts my-vue3-project2、安装sass npm install -D sass// 安装sass-loader&#xff0c;注意需要版本10&#xff0c;…

气膜网球馆:网球热潮中的全新选择—轻空间

郑钦文在2024巴黎奥运会网球女单比赛中夺冠&#xff0c;不仅实现了中国选手在这一项目上的历史性突破&#xff0c;更激发了广大群众参与网球运动的热情。从专业赛事到全民运动&#xff0c;网球热度空前高涨。气膜网球馆顺势而为&#xff0c;为网球爱好者提供了一个专业、安全、…

阿里数字人工作 Emote Portrait Alive (EMO):基于 Diffusion 直接生成视频的数字人方案

TL;DR 2024 年 ECCV 阿里智能计算研究所的数字人工作&#xff0c;基于 diffusion 方法来直接的从音频到视频合成数字人&#xff0c;避免了中间的三维模型或面部 landmark 的需求&#xff0c;效果很好。 Paper name EMO: Emote Portrait Alive - Generating Expressive Portra…

vue2-代理服务器插槽

解决跨域问题 配置代理服务器 代理服务器位于前端应用(客户端)和真实的后端服务器之间。当配置了代理服务器后&#xff0c;前端应用的请求不再直接发送到后端服务器&#xff0c;而是发送到代理服务器。代理服务器在接收到请求后&#xff0c;会根据预先配置的规则将请求转发到真…

极限失控的大模型使电力系统面临的跨域攻击风险及应对措施

目录&#xff1a; 0 引言 1 就大模型发生极限失控的风险进行讨论的必要性、紧迫性 1.1 预训练的数据来源 1.2 能力涌现与不可解释性 1.3 大模型与物质世界的连接 1.4 数量效应与失控 1.5 大模型发生极限失控的风险 1.5.1 人工智能反叛所需要素能力的拼图 1.5.2 火种源…

二进制 分析工具:Radare2、r2frida、Binutils、file、string、as、nm、ldd、objdump、readelf、strip

1、二进制 分析工具 工欲善其事&#xff0c;必先利其器&#xff0c;在二进制安全的学习中&#xff0c;​使用工具尤为重要。遇到一个不熟悉的文件时&#xff0c; 首先要确定 "这是什么类型的文件"&#xff0c;回答这个问题的首要原则是&#xff0c;绝不要根据文件的扩…