HTMLify

Beautiful Card
Views: 188 | Author: cody
<!DOCTYPE html>
<html>

<head>
  <style>
    body {
      font-family: 'Arial', sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100vh;
      margin: 0;
      background-color: #f4f4f4;
    }

    .card {
      width: 300px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .card-header {
      background-color: #3498db;
      color: #fff;
      padding: 20px;
      text-align: center;
      font-size: 1.5em;
    }

    .card-body {
      padding: 20px;
    }

    .card-footer {
      background-color: #3498db;
      color: #fff;
      text-align: center;
      padding: 10px;
    }
  </style>
</head>

<body>

  <div class="card">
    <div class="card-header">
      Beautiful Card
    </div>
    <div class="card-body">
      <p>This is a simple and beautifully styled card :)</p>
    </div>
    <div class="card-footer">
      © 2023 Cody
    </div>
  </div>

</body>

</html>

Comments