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

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

宣传页面一:

源码

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." - "记住,瑞德,希望是一种美好的东西,或许是最好的东西,而且没有任何好事会消逝。"------《肖申克的救赎》

相关推荐
Kakarotto2 小时前
Canvas 直线点击事件处理优化
javascript·vue.js·canvas
顺遂2 小时前
基于Rokid CXR-M SDK的引导式作业辅导系统设计与实现
前端
代码搬运媛2 小时前
Generator 迭代器协议 & co 库底层原理+实战
前端
前端拿破轮2 小时前
从0到1搭建个人网站(三):用 Cloudflare R2 + PicGo 搭建高速图床
前端·后端·面试
功能啥都不会2 小时前
PM2 使用指南 - 踩坑记录
前端
HelloReader2 小时前
React 中 useState、useEffect、useRef 的区别与使用场景详解,终于有人讲明白了
前端
兆子龙2 小时前
CSS 里的「if」:@media、@supports 与即将到来的 @when/@else
前端
踩着两条虫2 小时前
AI 智能体如何重构开发工作流
前端·人工智能·低代码
代码老中医2 小时前
逃离"Div汤":2026年,当AI写了75%的代码,前端开发者还剩什么?
前端
进击的尘埃2 小时前
Playwright Component Testing 拆到底:组件怎么挂上去的,快照怎么在 CI 里不翻车
javascript