Untitled

Anonymous
HTML
10/02/2025 10:13 PM
3.8 KB
17
Indexable
Never
<!DOCTYPE html>
<html>
<head>
  <title>Green Gardens</title>
  <style>
    body {
      margin: 0;
      padding: 0;
      font-family: Arial, sans-serif;
      background: url('your-background.jpg') no-repeat center center fixed;
      background-size: cover;
      display: flex;
      justify-content: center;
    }

    /* Side color bars */
    body::before, body::after {
      content: "";
      position: fixed;
      top: 0;
      bottom: 0;
      width: 60px; /* thin strip */
      background-color: #295e11; /* side color */
      z-index: 0;
    }
    body::before { left: 0; }
    body::after { right: 0; }

    /* Main content */
    .container {
      width: 90%;
      max-width: 1100px;
      background: rgba(255,255,255,0.9); /* transparent white overlay */
      position: relative;
      z-index: 1;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }

    /* Banner */
    .banner {
      width: 100%;
      height: 250px;
      background-image: url('banner.jpg'); /* replace with your banner */
      background-size: cover;
      background-position: center;
    }

    header {
      background-color: #295e11;
      color: white;
      padding: 10px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    header h1 {
      margin: 0;
      font-size: 26px;
      font-family: 'Impact';
      letter-spacing: 4px;
    }
    nav a {
      color: white;
      text-decoration: none;
      margin: 0 10px;
      font-weight: bold;
    }
    nav a:hover {
      color: #ffdd57;
    }

    /* Search bar panel */
    .search-bar {
      background-color: #f4f4f4;
      padding: 15px;
      text-align: center;
    }
    .search-bar input[type="text"] {
      padding: 8px;
      width: 250px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    .search-bar input[type="submit"] {
      padding: 8px 12px;
      background: #295e11;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
    .search-bar input[type="submit"]:hover {
      background: #1e460c;
    }

    h2 {
      color: #cf3223;
      text-align: center;
      margin: 20px 0;
    }

    p {
      text-align: center;
      max-width: 700px;
      margin: 0 auto 30px;
      line-height: 1.5;
    }

    .vegetables {
      padding: 40px 20px;
      text-align: center;
    }
    .vegetables h2 {
      color: #295e11;
      margin-bottom: 20px;
    }
    .vegetables ul {
      list-style: none;
      padding: 0;
    }
    .vegetables li {
      margin: 10px 0;
      font-size: 18px;
    }

    footer {
      background-color: #cf3223;
      color: white;
      padding: 20px;
      text-align: center;
      font-size: small;
      margin-top: 40px;
    }
  </style>
</head>
<body>

  <div class="container">

    <!-- Banner -->
    <div class="banner"></div>

    <!-- Header -->
    <header>
      <h1>GREEN GARDENS</h1>
      <nav>
        <a href="#">Home</a>
        <a href="#">About</a>
        <a href="#">Products</a>
        <a href="#">Contact</a>
      </nav>
    </header>

    <!-- Search Bar -->
    <div class="search-bar">
      <form>
        <input type="text" placeholder="Search...">
        <input type="submit" value="Search">
      </form>
    </div>

    <!-- Main Content -->
    <h2>Vegetable Seeds and Plants</h2>
    <p>
      Nothing compares to home grown! Shop and grow vegetable seeds and plants perfect for your garden.
      Prize winning tomatoes, peppers, beans and more.
    </p>

    <div class="vegetables">
      <h2>Our Seasonal Vegetables</h2>
      <ul>
        <li>Carrots</li>
        <li>Broccoli</li>
        <li>Spinach</li>
        <li>Peppers</li>
        <li>Tomatoes</li>
      </ul>
    </div>

    <!-- Footer -->
    <footer>
      &copy; 2025 Green Gardens | All Rights Reserved
    </footer>

  </div>

</body>
</html>
Editor is loading...
Leave a Comment