ai生成的幻灯片演示文档ppt代码

代码语言:html

所属分类:幻灯片

代码描述:ai生成的幻灯片演示文档ppt代码

代码标签: ai 生成 幻灯片 演示 文档 ppt 代码

下面为部分代码预览,完整代码请点击下载或在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>人工智能的未来</title>
    <script src="https://unpkg.com/lucide@latest"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
        :root {
            --bg-color: #0d1117;
            --primary-text-color: #c9d1d9;
            --secondary-text-color: #8b949e;
            --accent-color: #58a6ff;
            --card-bg-color: #161b22;
            --border-color: #30363d;
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html, body {
            width: 100%;
            height: 100%;
            overflow: hidden;
            font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-color);
            color: var(--primary-text-color);
        }
        #presentation-container {
            position: relative;
            width: 100%;
            height: 100%;
        }
        section {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 4vw;
            opacity: 0;
            visibility: hidden;
            transform: scale(0.98);
            transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
            pointer-events: none;
        }
        section.active {
            opacity: 1;
            visibility: visible;
            transform: scale(1);
            pointer-events: auto;
        }
        section h1 {
            font-size: clamp(2.5rem, 6vw, 4.5rem);
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
        }
        section h2 {
            font-size: clamp(1.5rem, 4vw, 2.5rem);
            font-weight: 600;
            color: var(--accent-color);
            margin-bottom: 2rem;
        }
        section h3 {
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            font-weight: 600;
            color: var(--primary-text-color);
            margin-bottom: 1rem;
        }
        section p {
            font-size: clamp(1rem, 2vw, 1.25rem);
            line-height: 1.7;
            color: var(--secondary-text-color);
            max-width: 800px;
        }
        ul {
            list-style: none;
            text-align: left;
            max-width: 700px;
            width: 100%;
        }
        li {
          .........完整代码请登录后点击上方下载按钮下载查看

网友评论0