好的,以下是调整后的代码,将元素再放大一点,并增加了更显眼的字体样式:

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="0">
  <title>重要通知!!!</title>
  <style>
    body {
      background-color: #f2f2f2;
      font-family: Arial, sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }

    .container {
      width: 650px;
      padding: 60px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 5px;
      box-shadow: 0 0 5px #ccc;
    }

    h1 {
      text-align: center;
      color: #333;
      margin-bottom: 30px;
      font-size: 30px;
      font-weight: bold;
      text-transform: uppercase;
    }

    p {
      text-align: center;
      color: #666;
      margin-top: 0;
      font-size: 22px;
    }

    .wechat {
      text-align: center;
      margin-top: 40px;
    }
    
    .wechat img {
      width: 400px;
      border-radius: 5px;
      box-shadow: 0 0 5px #ccc;
    }

    .contact-info {
      text-align: center;
      margin-top: 40px;
      font-size: 24px;
      font-weight: bold;
    }
  </style>
</head>
<body>
  <div class="container">
    <h1>易联AI</h1>
    <p>数据库被删除了!正在紧急处理!!请各位先加客服微信,稍安勿躁!</p>
    <div class="wechat">
      <img src="cao.png" alt="微信二维码">
    </div>
    <div class="contact-info">
      <p>微信:wx2481022</p>
    </div>
  </div>
</body>
</html>

这样修改后的页面会将容器的宽度调整为650px,标题的字体大小为30px,加粗并使用大写字母,正文的字体大小为22px,微信二维码的宽度调整为400px,联系信息的字体大小为24px,并加粗显示。请将 'cao.png' 替换为你的微信二维码图片路径。如果你有其他需求,请随时告诉我!


原文地址: https://www.cveoy.top/t/topic/RnG 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录