最新下载
24小时阅读排行榜
- 1 Python 函数注解在 IDE 与类型检查中的作用
- 2 javascript模块如何导入导出_ES6模块是什么【教程】
- 3 html5播放rtsp怎么拉取流_html5获取rtsp流地址方法【步骤】
- 4 如何在Laravel项目中创建并自动加载自定义辅助函数? (composer.json配置)
- 5 javascript怎样处理用户输入验证【教程】
- 6 如何通过用户脚本或浏览器扩展实现图片上传到 Twitter/Reddit
- 7 javascript如何实现文件上传?_掌握javascript文件操作API【教程】
- 8 html5怎么嵌入直播流地址_html5嵌入直播流播放法【步骤】
- 9 FIMO输出HTML有混合模式信息吗_FIMO输出HTML混合模式包含【解析】
- 10 html5布局代码面包屑导航布局_html5布局代码面包屑法【步骤】
- 11 Python 函数默认参数的执行时机
- 12 javascript如何调试代码_浏览器开发者工具有何技巧【教程】
- 13 如何解决 OpenCMS 中 reCAPTCHA v2 无法显示的问题
- 14 如何利用javascript处理事件和回调?【教程】
- 15 ios调用html5键盘遮挡输入框咋办_ios调整输入框位置法【方案】
最新教程
-
- Node.js 教程
- 16212 2025-08-28
-
- CSS3 教程
- 1546759 2025-08-27
-
- Rust 教程
- 23347 2025-08-27
-
- Vue 教程
- 25802 2025-08-22
-
- PostgreSQL 教程
- 22284 2025-08-21
-
- Git 教程
- 9262 2025-08-21
<head>
<meta charset="utf-8">
<title>css3模拟3D效果城市夜间行走动画特效</title>
<style>
body {
position: relative;
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: radial-gradient(circle at center, #1f1925, #2c2334);
overflow: hidden;
}
body:before, body:after {
content: '';
position: absolute;
width: 200%;
height: 50%;
left: -50%;
top: calc(50% + 10px);
background: #644350;
}
body:after {
z-index: -1;
height: calc(50% + 500px);
top: -250px;
background: linear-gradient(to top, #1f1925, rgba(255, 255, 255, 0)), radial-gradient(circle at center, #fcb3a4, #fcb3a4 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 20px), radial-gradient(circle at center, #fcb3a4, #fcb3a4 1px, rgba(255, 255, 255, 0) 1px, rgba(255, 255, 255, 0) 20px);
background-size: 100%, 100px 100px, 100px 100px;
background-position: 50%, 40px 40px, 0px 90px;
opacity: 0.75;
transform-style: preserve-3d;
animation: starwipe 10s linear infinite;
}
这是一款很酷炫的纯css3实现的模拟3D效果城市夜间行走动画特效,css3立体建筑物动画效果。
