Re: [csswg-drafts] [css-device-adapt] Clarify no content meta viewport <meta name="viewport"> should be ignored or not (#4995)

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My Modern Page</title>

  <style>
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: "Inter", Arial, sans-serif;
    }

    body {
      background: #0f172a;
      color: #e5e7eb;
    }

    /* Header */
    .hero {
      padding: 60px 20px;
      text-align: center;
      background: linear-gradient(135deg, #6366f1, #22d3ee);
      color: white;
    }

    .hero img {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      border: 3px solid white;
      object-fit: cover;
      margin-bottom: 15px;
    }

    .hero h1 {
      font-size: 26px;
    }

    .hero p {
      opacity: 0.9;
      margin-top: 8px;
    }

    /* Layout */
    .container {
      padding: 20px;
      max-width: 1000px;
      margin: auto;
    }

    .card {
      background: #020617;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 18px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }

    .card h2 {
      margin-bottom: 12px;
      color: #38bdf8;
    }

    /* Skills */
    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .skill {
      padding: 8px 14px;
      background: #1e293b;
      border-radius: 20px;
      font-size: 14px;
    }

    /* Buttons */
    .btn {
      display: inline-block;
      margin-top: 15px;
      padding: 12px 20px;
      background: #6366f1;
      color: white;
      border-radius: 10px;
      text-decoration: none;
      font-weight: bold;
    }

    .btn:hover {
      background: #4f46e5;
    }

    footer {
      text-align: center;
      padding: 20px;
      font-size: 14px;
      opacity: 0.6;
    }

    /* Desktop */
    @media (min-width: 768px) {
      .hero h1 {
        font-size: 34px;
      }
    }
  </style>
</head>
<body>

  <!-- Hero -->
  <section class="hero">
    <img src="https://via.placeholder.com/150" alt="Profile">
    <h1>Your Name</h1>
    <p>Frontend Developer • Designer • Creator</p>
  </section>

  <!-- Content -->
  <div class="container">

    <div class="card">
      <h2>About</h2>
      <p>
        I build modern, fast, and responsive websites.
        I focus on clean UI, great UX, and performance.
      </p>
    </div>

    <div class="card">
      <h2>Skills</h2>
      <div class="skills">
        <div class="skill">HTML</div>
        <div class="skill">CSS</div>
        <div class="skill">JavaScript</div>
        <div class="skill">React</div>
        <div class="skill">UI/UX</div>
      </div>
    </div>

    <div class="card">
      <h2>Contact</h2>
      <p>Email: yourname@email.com</p>
      <a href="#" class="btn">Get in Touch</a>
    </div>

  </div>

  <footer>
    © 2026 Your Name
  </footer>

</body>
</html>

-- 
GitHub Notification of comment by wolkiirchol-collab
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4995#issuecomment-3844467069 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 4 February 2026 00:05:07 UTC