Hover webmail login page

Here is a basic HTML and CSS code to create a hover effect on a webmail login page:

HTML:

<!DOCTYPE html>
<html>
<head>
    <title>Webmail Login</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="login-container">
        <h1>Webmail Login</h1>
        <form>
            <label for="username">Username:</label>
            <input type="text" id="username" name="username"><br><br>
            <label for="password">Password:</label>
            <input type="password" id="password" name="password"><br><br>
            <input type="submit" value="Login">
        </form>
    </div>
</body>
</html>

CSS (in style.css file):

.login-container {
  width: 300px;
  margin: 40px auto;
  text-align: center;
  background-color: #f0f0f0;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.login-container:hover {
  background-color: #e0e0e0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.login-container:hover input[type="text"],
.login-container:hover input[type="password"] {
  border-color: #666;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.login-container:hover input[type="submit"] {
  background-color: #4CAF50;
  color: #fff;
  border-color: #3e8e41;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

In this code, we're using CSS to style the login container and its elements. We're also using the :hover pseudo-class to apply a hover effect to the container and its elements.

When the user hovers over the login container, the background color changes to a lighter shade, and the box shadow becomes more pronounced. The input fields and submit button also receive a subtle hover effect, with a darker border color and a slightly more prominent box shadow.

You can customize the styles to fit your desired design and branding.