当前位置:网站首页>【无标题】
【无标题】
2022-08-09 02:30:00 【JiuMeilove】
效果示例
代码示例
<!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>
<style> body {
margin: auto; font-family: -apple-system, BlinkMacSystemFont, sans-serif; overflow: auto; background: linear-gradient(315deg, rgba(101, 0, 94, 1) 3%, rgba(60, 132, 206, 1) 38%, rgba(48, 238, 226, 1) 68%, rgba(255, 25, 25, 1) 98%); animation: gradient 15s ease infinite; background-size: 400% 400%; background-attachment: fixed; } @keyframes gradient {
0% {
background-position: 0% 0%; } 50% {
background-position: 100% 100%; } 100% {
background-position: 0% 0%; } } .wave {
background: rgb(255 255 255 / 25%); /* background: rgba(255, 255,255, .1); */ border-radius: 1000% 1000% 0 0; position: fixed; width: 200%; height: 12em; animation: wave 10s -3s linear infinite; transform: translate3d(0, 0, 0); opacity: 0.8; bottom: 0; left: 0; z-index: -1; } .wave:nth-of-type(2) {
bottom: -1.25em; animation: wave 18s linear reverse infinite; opacity: 0.8; } .wave:nth-of-type(3) {
bottom: -2.5em; animation: wave 20s -1s reverse infinite; opacity: 0.9; } @keyframes wave {
2% {
transform: translateX(1); } 25% {
transform: translateX(-25%); } 50% {
transform: translateX(-50%); } 75% {
transform: translateX(-25%); } 100% {
transform: translateX(1); } } </style>
</head>
<body>
<div>
<div class="wave"></div>
<div class="wave"></div>
<div class="wave"></div>
</div>
</body>
</html>
边栏推荐
- 接口的安全性测试,应该从哪些方面入手?
- Likou Brush Question Record--Common Functions
- Postman接口测试【官网】最新版本 安装及使用入门教程
- 力扣刷题记录--常用功能函数
- 2022年自然语言处理校招社招实习必备知识点盘点分享
- 力扣刷题记录1.5-----367. 有效的完全平方数
- 嵌入式设备驱动开发
- MT4 / MQ4L entry to the master of EA tutorial lesson two (2) - - MQL language commonly used function account information commonly used functions
- 1261. 在受污染的二叉树中查找元素
- 数字 01 Vivado2018.2安装及实操
猜你喜欢

mysql 5.7 入坑

点击div内部默认文本被选中

ROS2错误:不支持OpenGL 1.5 GLRenderSystem:: ci initialiseContext在C: \ \ ws \构建……

<爆>2022中文版-《海外博士申请指南-材料准备、时间线、套磁、面试及录取》免费分享

gpio子系统和pinctrl子系统(上)

MT4/MQL4入门到精通EA教程第一课-MQL语言常用函数(一)OrderSend()函数

Line segment tree of knowledge

接口自动化测试-接口封装思想

【电商运营】不知道怎么做网站优化?这里有你需要知道的一切!

Jenkins的环境部署,(打包、发布、部署、自动化测试)
随机推荐
2022 China Eye Expo, China Beijing International Children and Adolescent Eye Health Industry Exhibition
313. 超级丑数-暴力解法
从0开始搭建自动化测试框架之PO分层架构
The security of the pension insurance?Reliable?
What is the difference between a project manager and a product manager?
接口的安全性测试,应该从哪些方面入手?
Open3D 均匀采样
全志平台双路LVDS配置
不会吧!不会吧!居然还有人不知道重绘以及回流
The most fierce "employee" in history, madly complaining about the billionaire boss Xiao Zha: So rich, he always wears the same clothes!
力扣刷题记录4.1-----209. 长度最小的子数组
[ANT]apache ant 安装说明
[LeetCode84双周赛] [模拟] 6174. 任务调度器 II,[贪心&数学] 6144. 将数组排序的最少替换次数
Significance Test--Study Notes
ZCMU--5115: Buying Keys(C语言)
Open3D 点云曲率计算
ROS 、SLAM 学习 error整理
Analysis of when AuthenticationSuccessHandler is called after UsernameAuthenticationFilter is authorized successfully
危化企业双预防机制数字化建设工作要求
Summary of pytorch related knowledge points