闲来无事,写几个好看的产品宣传界面,希望您喜欢

闲来无事,再写几个产品宣传页

宣传页面一:

源码

html 复制代码
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>产品推广海报</title>
  <style>
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f2f2f2;
      color: #333;
    }

    header {
      background-color: #007BFF;
      color: #fff;
      text-align: center;
      padding: 20px;
    }

    section {
      max-width: 800px;
      margin: 20px auto;
      padding: 30px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    h1 {
      color: #007BFF;
    }

    p {
      line-height: 1.6;
    }

    .product-image {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin-bottom: 20px;
    }

    .cta-button {
      display: inline-block;
      padding: 10px 20px;
      background-color: #007BFF;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s ease;
    }

    .cta-button:hover {
      background-color: #0056b3;
    }
  </style>
</head>
<body>


  <section>
    <img class="product-image" src="https://huamaobizhi.com/appApi/wallpaper/getImages_1_0/?pid=6070&resolution=800w380h" alt="产品图片">

    <h2>产品特点</h2>
    <ul>
      <li>高品质材料</li>
      <li>创新设计</li>
      <li>性能卓越</li>
    </ul>

    <h2>优惠详情</h2>
    <p>现在购买,可享受额外5%折扣!</p>

    <a class="cta-button" href="https://example.com/buy-now" target="_blank">立即购买</a>
  </section>

</body>
</html>

效果

宣传界面二:

源码

html 复制代码
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>产品推广海报</title>
  <style>
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #004080;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
    }

    section {
      text-align: center;
      background-color: #fff;
      border-radius: 8px;
      padding: 40px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }

    h1 {
      color: #004080;
    }

    p {
      line-height: 1.6;
      color: #333;
    }

    .product-image {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin: 20px 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    ul {
      list-style-type: none;
      padding: 0;
      color: #004080; /* 修改列表颜色 */
    }

    li {
      margin-bottom: 8px;
    }

    .cta-button {
      display: inline-block;
      padding: 15px 30px;
      background-color: #004080;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s ease;
      display: inline-block;
      border: 2px solid #004080;
    }

    .cta-button:hover {
      background-color: #00264d;
      border-color: #00264d;
    }
  </style>
</head>
<body>

  <section>
    <h1>热销产品推广</h1>
    <img class="product-image" src="https://huamaobizhi.com/appApi/wallpaper/getImages_1_0/?pid=6070&resolution=800w380h" alt="产品图片">

    <h2>产品特点</h2>
    <ul>
      <li>高品质材料</li>
      <li>创新设计</li>
      <li>性能卓越</li>
    </ul>

    <h2>优惠详情</h2>
    <p>现在购买,可享受额外5%折扣!</p>

    <a class="cta-button" href="https://example.com/buy-now" target="_blank">立即购买</a>
  </section>

</body>
</html>

效果

宣传界面三:

源码

html 复制代码
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>产品推广海报</title>
  <style>
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f9f9f9;
      color: #333;
      display: flex;
      min-height: 100vh;
    }

    .container {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .left-section,
    .right-section {
      flex: 1;
      text-align: center;
      padding: 40px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

    .left-section {
      background-color: #FF7F50;
      border-top-left-radius: 8px;
      border-bottom-left-radius: 8px;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .left-section h1 {
      margin-bottom: 20px;
    }

    .left-section p {
      line-height: 1.6;
      color: #eee;
    }

    .cta-button {
      margin-top: 20px;
      padding: 15px 30px;
      background-color: #FF6347;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
      font-weight: bold;
      transition: background-color 0.3s ease;
      border: 2px solid #FF6347;
    }

    .cta-button:hover {
      background-color: #FF4500;
      border-color: #FF4500;
    }

    .right-section {
      background-color: #fff;
      border-top-right-radius: 8px;
      border-bottom-right-radius: 8px;
    }

    h1,
    p {
      color: #333;
    }

    .product-image {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin: 20px 0;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    ul {
      list-style-type: none;
      padding: 0;
      color: #333;
    }

    li {
      margin-bottom: 8px;
    }
  </style>
</head>
<body>

  <div class="container">
    <div class="left-section">
      <h1>热销产品推广</h1>
      <p>限时优惠,快来抢购!</p>
      <a class="cta-button" href="https://example.com/buy-now" target="_blank">立即购买</a>
    </div>

    <div class="right-section">
      <img class="product-image" src="https://huamaobizhi.com/appApi/wallpaper/getImages_1_0/?pid=6070&resolution=800w380h" alt="产品图片">
      <h2>产品特点</h2>
      <ul>
        <li>高品质材料</li>
        <li>创新设计</li>
        <li>性能卓越</li>
      </ul>
      <h2>优惠详情</h2>
      <p>现在购买,可享受额外5%折扣!</p>
    </div>
  </div>

</body>
</html>

效果

"Remember, Red, hope is a good thing, maybe the best of things, and no good thing ever dies." - "记住,瑞德,希望是一种美好的东西,或许是最好的东西,而且没有任何好事会消逝。"------《肖申克的救赎》

相关推荐
程序员-珍9 分钟前
安卓开发:同名 styles.xml 在不同分支/文件夹的合并规则
android·xml·前端
Ashley的成长之路14 分钟前
前端性能优化实战手册·第5篇(最终篇):性能监控与 CI/CD 集成
前端·ci/cd·性能优化
chemddd26 分钟前
第四节课:前端
前端
界面开发小八哥27 分钟前
界面控件DevExpress Blazor v26.1新版亮点 - TreeList & 数据编辑器
javascript·编辑器·.net·界面控件·blazor·devexpress·用户界面
雪芽蓝域zzs28 分钟前
(一)Vue3+JS+Vite+pnpm 仿若依后台 从零搭建
前端
风月说与山鬼35 分钟前
二、uni-app入口文件(main.js)
javascript·uni-app
常宇佳44 分钟前
vue3 $refs使用方法
前端·vue.js·typescript
zhanghaha13141 小时前
HTML系列教程:4_什么是 HTML 元素(零基础超详细讲解)
前端·算法·html
AI 编程助手GPT2 小时前
VS Code 1.133 实战:Claude 可免 GitHub 登录,HTML 保存后自动刷新
前端·html·github
灯澜忆梦2 小时前
【基于GO的Web开发3】gin框架_HTML渲染
前端·golang·gin