css倾斜的3d翻转文字卡片代码
代码语言:html
所属分类:布局界面
代码描述:css倾斜的3d翻转文字卡片代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ascend 大模型开发全流程 - 3D 互动展示</title>
<style>
/* --- 全局重置与背景 --- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
background: radial-gradient(circle at 50% 50%, #fdfbfb 0%, #ebedee 100%);
overflow: hidden; /* 防止出现滚动条 */
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
/* 装饰性背景球(模拟图中的柔和背景) */
.bg-shape {
position: absolute;
border-radius: 50%;
filter: blur(80px);
z-index: -1;
opacity: 0.6;
}
.shape-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #ff9a9e; }
.shape-2 { bottom: -10%; right: -10%; width: 600px; height: 600px; background: #a18cd1; }
.shape-3 { bottom: 20%; left: 30%; width: 300px; height: 300px; background: #fbc2eb; }
/* --- 3D 场景容器 --- */
.scene {
perspective: 1000px; /* 3D 透视深度 */
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0