Dark Form E Button Styles

formulário e botões estilosos

TEMPLATE

Código

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Dark Form and Buttons</title>
  <!-- Bootstrap CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
  <!-- Bootstrap Icons CSS -->
  <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css" rel="stylesheet">
  <style>
    body {
      background-color: #1e1e1e;
      color: white;
      font-family: 'Arial', sans-serif;
      padding: 20px;
    }
    .form-control {
      background-color: transparent;
      border: 1px solid #555;
      border-radius: 0;
      color: white;
    }
    .form-control:focus {
      border-color: #9b59b6;
      box-shadow: none;
    }
    .form-select {
      background-color: transparent;
      color: white;
      border: 1px solid #555;
      border-radius: 0;
    }
    .form-select:focus {
      border-color: #9b59b6;
      box-shadow: none;
    }
    .form-label {
      color: #888;
    }
    .btn-custom {
      border-radius: 50px;
      padding: 10px 30px;
      font-size: 1rem;
      text-transform: uppercase;
      transition: all 0.3s ease;
      margin-top: 20px;
    }
    .btn-primary-custom {
      background-color: #9b59b6;
      border: none;
      color: white;
    }
    .btn-outline-custom {
      background-color: transparent;
      border: 2px solid white;
      color: white;
    }
    .btn-white-custom {
      background-color: white;
      color: black;
      border: none;
    }
    .btn-black-custom {
      background-color: black;
      color: white;
      border: none;
    }
    .btn:hover {
      transform: scale(1.05);
    }
    .form-group {
      margin-bottom: 20px;
    }
  </style>
</head>
<body>

<h2 class="text-center">Dark Themed Form</h2>

<!-- Form Section -->
<div class="container">
  <form>
    <div class="form-group">
      <label for="firstName" class="form-label">First Name</label>
      <input type="text" class="form-control" id="firstName" placeholder="Enter your first name">
    </div>

    <div class="form-group">
      <label for="secondName" class="form-label">Last Name</label>
      <input type="text" class="form-control" id="secondName" placeholder="Enter your last name">
    </div>

    <div class="form-group">
      <label for="state" class="form-label">Select Your State</label>
      <select id="state" class="form-select">
        <option>Select an option</option>
        <option>California</option>
        <option>New York</option>
        <option>Texas</option>
        <option>Colorado</option>
      </select>
    </div>

    <div class="form-group">
      <label for="email" class="form-label">Email Address</label>
      <input type="email" class="form-control" id="email" placeholder="Enter your email">
    </div>

    <div class="form-group">
      <label for="message" class="form-label">Message</label>
      <textarea class="form-control" id="message" rows="3" placeholder="Type your message"></textarea>
    </div>
  </form>

  <!-- Buttons Section -->
  <div class="d-flex flex-column align-items-center">
    <a href="https://enepta.com" class="btn btn-custom btn-primary-custom">Buy Now</a>
    <a href="https://enepta.com" class="btn btn-custom btn-outline-custom">Buy Now</a>
    <a href="https://enepta.com" class="btn btn-custom btn-white-custom">Buy Now</a>
    <a href="https://enepta.com" class="btn btn-custom btn-black-custom">Buy Now</a>
  </div>
</div>

<!-- Bootstrap JS and Popper.js -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>

</body>
</html>