点击查看html编辑器说明文档

多步骤信息图表HTML示例2edit icon

|
|
Fork(复制)
|
|
提交反馈
嵌入
设置
下载
HTML
CSS
JS
格式化
支持Emmet,输入 p 后按 Tab键试试吧!
<head> ...
展开
</head>
<body>
            
            <!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>多步骤信息图表HTML示例</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body {
      font-family: '微软雅黑', sans-serif;
      background-color: #f0f2f5;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      padding: 20px;
    }
    
    .container {
      width: 100%;
      max-width: 800px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      padding: 40px 20px;
    }
    
    .header {
      margin-bottom: 40px;
      text-align: center;
    }
    
    .title {
      font-size: 32px;
      color: #333;
    }
    
    .step-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .step {
      display: flex;
      align-items: center;
      padding: 20px;
      border-radius: 8px;
      color: #333;
      background-color: #fff;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    
    .step:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    
    .step:nth-child(odd) { background-color: #e3f2fd; }
    .step:nth-child(even) { background-color: #e8f5e9; }
    
    .icon {
      font-size: 40px;
      margin-right: 20px;
      color: #2196f3;
    }
    
    .step-content {
      flex: 1;
    }
    
    .step-number {
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 10px;
      color: #555;
    }
    
    .step-title {
      font-size: 20px;
      margin-bottom: 8px;
      color: #222;
    }
    
    .step-desc {
      font-size: 16px;
      line-height: 1.6;
      color: #666;
    }
    
  </style>
</head>
<body>
  <div class="container">
    <div class="header">
      <h1 class="title">多步骤信息图表HTML示例</h1>
    </div>
    <div class="step-container">
      <div class="step">
        <div class="icon">🏠</div>
        <div class="step-content">
          <div class="step-number">步骤 1</div>
          <div class="step-title">计划</div>
          <div class="step-desc">首先,明确目标,确保所有参与者对项目的愿景有清晰的理解。</div>
        </div>
      </div>
      <div class="step">
        <div class="icon">💡</div>
        <div class="step-content">
          <div class="step-number">步骤 2</div>
          <div class="step-title">实施</div>
          <div class="step-desc">进行头脑风暴,收集各种可能的解决方案和创意。</div>
        </div>
      </div>
      <div class="step">
        <div class="icon">📈</div>
        <div class="step-content">
          <div class="step-number">步骤 3</div>
          <div class="step-title">监控</div>
          <div class="step-desc">分析数据,评估每个方案的可行性和潜在影响。</div>
        </div>
      </div>
      <div class="step">
        <div class="icon">💬</div>
        <div class="step-content">
          <div class="step-number">步骤 4</div>
          <div class="step-title">调整</div>
          <div class="step-desc">邀请团队成员讨论,确保所有观点都得到考虑。</div>
        </div>
      </div>
      <div class="step">
        <div class="icon">⚙️</div>
        <div class="step-content">
          <div class="step-number">步骤 5</div>
          <div class="step-title">评估</div>
          <div class="step-desc">最后,制定行动计划,分配任务并设定时间表。</div>
        </div>
      </div>
    </div>
  </div>
</body>
</html>
        
</body>
预览
控制台