Stylish Input Field with Focus Effect

input_field
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="Modern input field with focus effect. Perfect for stylish user forms.">
  <title>Stylish Input Field</title>
  <style>
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      font-family: 'Arial', sans-serif;
      background-color: #f0f0f0;
    }
    .input-container {
      position: relative;
      width: 300px;
    }
    .input-container input {
      width: 100%;
      padding: 15px;
      border: 2px solid #ccc;
      border-radius: 25px;
      outline: none;
      font-size: 16px;
      transition: all 0.3s ease-in-out;
    }
    .input-container input:focus {
      border-color: #384d48;
      background: linear-gradient(135deg, #D4D5D9, #e4daa1);
      color: white;
    }
  </style>
</head>
<body>
  <div class="input-container">
    <input type="text" placeholder="Type something...">
  </div>
</body>
</html>

About Design

Modern input field with focus effect. Perfect for stylish user forms. You can uses in your project