image not found

How To Create Responsive Login Form

<link rel="stylesheet" href="css/style.css">
<main class="main-box-login">
<div class="contact-form-container">
<form class="contact-form" action="" method="">
<h2 class="text-center">Welcome</h2>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="name">Password:</label>
<input type="Password" id="name" name="name" required>
</div>
<button type="submit">Login</button>
</form>
</div>
</main>

.main-box-login {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

.contact-form-container {
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 400px;
}
.text-center{text-align: center;}
.contact-form h2 {
margin-bottom: 20px;
font-size: 24px;
color: #333;
}

.form-group {
margin-bottom: 15px;
}

.form-group label {
display: block;
margin-bottom: 5px;
color: #666;
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
border-color: #007BFF;
outline: none;
}

button {
background-color: #007BFF;
color: #fff;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
}

button:hover {
background-color: #0056b3;
}

empty


Comments (6 )

AMAR KUMAR
12 Jun 2024

$pagename = 'contact'; return view('contact-us',['pagename' => $pagename]); <a class="nav-link @if($pagename == 'contact') active @endif" href="{{asset('/contact-us')}}">contact</a>.

neeta
12 Jun 2024

{{$pagename == 'home' ? 'active ' : 'nav-link'}}.

1
19 Jun 2024

1.

1
19 Jun 2024

1.

1
26 Jun 2024

1.

1
26 Jun 2024

1.

Leave A Comment

Click for Ad