Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
2.0 kB
1
Indexable
Never
<!DOCTYPE html>
<html>
  <head>
    <style>
      .container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }
      .sneaker {
        width: 300px;
        height: 400px;
        margin: 20px;
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        transition: 0.3s;
      }
      .sneaker:hover {
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
      }
      .sneaker img {
        width: 100%;
        height: 60%;
      }
      .sneaker h3 {
        padding: 20px;
        text-align: center;
      }
      .sneaker p {
        padding: 20px;
        text-align: center;
        font-size: 14px;
      }
      .sneaker button {
        width: 100%;
        padding: 10px;
        background-color: lightgray;
        border: none;
        outline: none;
        cursor: pointer;
        font-size: 16px;
      }
    </style>
  </head>
  <body>
    <h2>Sneaker Store</h2>
    <div class="container">
      <div class="sneaker">
        <img src="sneaker1.jpg" alt="Sneaker 1">
        <h3>Sneaker 1</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed tincidunt, nunc ut faucibus condimentum, ipsum lacus bibendum sapien, a pulvinar dui dui vel quam.</p>
        <button>Buy Now</button>
      </div>
      <div class="sneaker">
        <img src="sneaker2.jpg" alt="Sneaker 2">
        <h3>Sneaker 2</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed tincidunt, nunc ut faucibus condimentum, ipsum lacus bibendum sapien, a pulvinar dui dui vel quam.</p>
        <button>Buy Now</button>
      </div>
      <div class="sneaker">
        <img src="sneaker3.jpg" alt="Sneaker 3">
        <h3>Sneaker 3</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed tincidunt, nunc ut faucibus condimentum, ipsum lacus bibendum sapien, a pulvinar dui dui vel quam.</p>
        <button>Buy Now</button>
      </div>
    </div>
  </body>
</html>