Güncel Css Profesyonel Form Tasarımı

Falcon

Yönetici
CSS:
<!DOCTYPE html>
<html lang="tr">
<head>
  <meta charset="UTF-8">
  <title>Modern Form</title>
  <style>
    body {
      background: #eee;
      font-family: 'Segoe UI', sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
    }

    form {
      background: white;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
      width: 300px;
    }

    form h2 {
      margin-bottom: 20px;
      text-align: center;
      color: #333;
    }

    input, textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 6px;
      outline: none;
      font-size: 14px;
    }

    button {
      width: 100%;
      padding: 10px;
      background-color: #28a745;
      border: none;
      border-radius: 6px;
      color: white;
      font-size: 15px;
      cursor: pointer;
    }

    button:hover {
      background-color: #218838;
    }
  </style>
</head>
<body>
  <form>
    <h2>İletişim Formu</h2>
    <input type="text" placeholder="Adınız" required>
    <input type="email" placeholder="Email" required>
    <textarea placeholder="Mesajınız" rows="4" required></textarea>
    <button type="submit">Gönder</button>
  </form>
</body>
</html>
 
Geri
Üst