Hotmail login box mojo
The classic Hotmail login box!
Here's the HTML and CSS code to recreate the classic Hotmail login box:
HTML:
<div class="hotmail-login-box">
<h2>Login to Hotmail</h2>
<form>
<label for="username">Email:</label>
<input type="text" id="username" name="username" placeholder="Your email address">
<br>
<label for="password">Password:</label>
<input type="password" id="password" name="password" placeholder="Your password">
<br>
<input type="submit" value="Sign in">
</form>
</div>
CSS:
.hotmail-login-box {
width: 300px;
margin: 40px auto;
background-color: #f0f0f0;
padding: 20px;
border: 1px solid #ccc;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.hotmail-login-box h2 {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
.hotmail-login-box form {
margin-top: 20px;
}
.hotmail-login-box label {
display: block;
margin-bottom: 5px;
}
.hotmail-login-box input[type="text"],.hotmail-login-box input[type="password"] {
width: 100%;
height: 30px;
margin-bottom: 10px;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
.hotmail-login-box input[type="submit"] {
width: 100%;
height: 30px;
background-color: #4CAF50;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
}
.hotmail-login-box input[type="submit"]:hover {
background-color: #3e8e41;
}
You can adjust the styles to fit your needs. This code should give you a basic Hotmail login box design.