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

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

宣传页面一:

源码

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

相关推荐
Cachel wood8 分钟前
Django REST framework (DRF)中的api_view和APIView权限控制
javascript·vue.js·后端·python·ui·django·前端框架
m0_7482340815 分钟前
Spring Boot教程之三十一:入门 Web
前端·spring boot·后端
Domain-zhuo24 分钟前
如何提高webpack的构建速度?
前端·webpack·前端框架·node.js·ecmascript
前端Hardy27 分钟前
HTML&CSS:惊!3D 折叠按钮
css·3d·html
放逐者-保持本心,方可放逐38 分钟前
SSE 流式场景应用 及 方案总结
javascript·axios·fetch·eventsource
还是大剑师兰特39 分钟前
面试题:ES6模块与CommonJS模块有什么异同?
前端·es6·大剑师
胡西风_foxww1 小时前
【ES6复习笔记】数值扩展(16)
前端·笔记·es6·扩展·数值
mosen8681 小时前
uniapp中uni.scss如何引入页面内或生效
前端·uni-app·scss
白云~️1 小时前
uniappX 移动端单行/多行文字隐藏显示省略号
开发语言·前端·javascript
沙尘暴炒饭1 小时前
uniapp 前端解决精度丢失的问题 (后端返回分布式id)
前端·uni-app