当前位置:网站首页>攀爬倒影发光方块
攀爬倒影发光方块
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> * {
margin: 0; padding: 0; box-sizing: border-box; } body {
display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: #000; overflow: hidden; } .container {
position: relative; width: 100%; transform: rotate(-35deg); } .container .box {
position: absolute; top: 250px; left: -400px; display: flex; justify-content: center; align-items: center; width: calc(100% + 400px); height: 200px; transform: translate(-300px); -webkit-box-reflect: below 1px linear-gradient(transparent, #0004); animation: animateSurface 1.5s ease-in-out infinite; } @keyframes animateSurface {
from {
transform: translate(0); } to {
transform: translate(-200px); } } .container .box .cube {
position: relative; width: 200px; height: 200px; background-color: #03e9f4; box-shadow: 0 0 5px rgba(3, 233, 244, 1), 0 0 25px rgba(3, 233, 244, 1), 0 0 50px rgba(3, 233, 244, 1), 0 0 100px rgba(3, 233, 244, 1), 0 0 200px rgba(3, 233, 244, .5), 0 0 300px rgba(3, 233, 244, .5); transform-origin: right bottom; animation: animate 1.5s ease-in-out infinite; } @keyframes animate {
0% {
transform: rotate(0deg); } 60% {
transform: rotate(90deg); } 65% {
transform: rotate(85deg); } 70% {
transform: rotate(90deg); } 75% {
transform: rotate(87.5deg); } 80%, 100% {
transform: rotate(90deg); } } </style>
</head>
<body>
<div class="container">
<div class="box">
<div class="cube"></div>
</div>
</div>
</body>
</html>
边栏推荐
- 313. 超级丑数-暴力解法
- 软件开发之我的一点想法
- 2020.10.13 Development log
- MT4 / MQ4L entry to the master of EA tutorial lesson two (2) - - MQL language commonly used function account information commonly used functions
- 2020.10.13开发日志
- My thoughts on software development
- online schema change and create index
- 【Jenkins 学习笔记】玩转持续集成与持续交付
- Z-Game on grid
- Qt 信号槽connect的同步与异步处理
猜你喜欢
接口自动化测试-接口封装思想
Likou Brush Question Record 6.1-----203. Remove linked list elements
The most fierce "employee" in history, madly complaining about the billionaire boss Xiao Zha: So rich, he always wears the same clothes!
Likou Brush Question Record 1.5-----367. Valid perfect squares
Force buckled brush problem record 7.1 -- -- -- -- -- 707. The design list
时间复杂度和空间复杂度
1261. 在受污染的二叉树中查找元素
Electromagnetic radiation safety standards and detection methods
金融行业软件测试面试题(含答案)| 入门指南
NPDP改版前最后一次考试!请注意
随机推荐
工具类:base64格式的数据与本地文件的相互转换
LintCode 283. 三数之中的最大值
电磁辐射安全标准及检测方法
1261. 在受污染的二叉树中查找元素
Open3D 随机采样
The security of the pension insurance?Reliable?
Composer usage record
18.flink Table/Sql API之 catlog
Which is the best increased whole life insurance?Is it really safe?
如何保护智能家居避免黑客攻击
MT4/MQL4入门到精通EA教程第一课-MQL语言常用函数(一)OrderSend()函数
mysql 5.7 入坑
不会吧!不会吧!居然还有人不知道重绘以及回流
16.flink 自定义KeySelector
MySQL/Oracle字符串分割
Open3D 计算点云的均值(质心)与协方差
最近看到很多人想自学或者报班但是不清楚如何选择,我今天就和大家说说
Significance Test--Study Notes
[LeetCode305周赛] 6136. 算术三元组的数目,6139. 受限条件下可到达节点的数目,6137. 检查数组是否存在有效划分,6138. 最长理想子序列
2020.10.13 Development log