Skip to content

Commit

Permalink
LOG IN Page
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaidshaikh-1 committed Jul 3, 2024
0 parents commit ff200d3
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 0 deletions.
Binary file added car.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="Login">
<h1>LOG IN </h1>
<form>
<label> Username</label>
<input type="text" name="username" placeholder="Enter your username" required>
<label> Password</label>
<input type="password" name="password" placeholder="Enter your password" required>
<button>
Submit
</button>
</form>
</div>
</body>
</html>
69 changes: 69 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@

#Login {
height: 500px;
width: 400px;
border: 1px solid black;
border-radius: 20px;
background-image: url("car.jpg");
box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
color: white;
background-position: center;
overflow: hidden;
/* padding-left: 10px; */
}

form {
display: block;
box-sizing: border-box;
padding: 40px;
height: 100%;
width: 100%;
backdrop-filter: brightness (40%);
display: flex;
flex-direction: column;
gap: 5px;
}

h1 {
font-weight: normal;
font-size: 24px;
text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
margin-bottom: 60px;
}

label {
color: rgba(red, green, blue, 0.8);
font-size: 10px;
text-transform: uppercase;
letter-spacing: 2px;
padding-left: 10px;
}

input {
background: rgba(red, green, blue, 0.3);
height: 40px;
line-height: 40px;
border-radius: 20px;
border: none;
padding: 0px 20px;
margin-bottom: 20px;
color: black;
}
button {
background-color: rgb(140, 52, 160);
height: 40px;
line-height: 40px;
border-radius: 40px;
border: none;
margin: 10px 0px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
color: white;
text-transform: uppercase;
font-size: 12px;
}
div {
margin: auto;
width: 50%;
border: 3px solid green;
padding: 10px;
}

0 comments on commit ff200d3

Please sign in to comment.