Skip to content

Commit

Permalink
Merge pull request #17 from Sashmit17/main
Browse files Browse the repository at this point in the history
issue #1 solved
  • Loading branch information
Nick003-CSE authored Oct 6, 2023
2 parents b8f8bbe + e9e79ab commit fac94eb
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sashmit/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
issue #1
Binary file added Sashmit/image1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
99 changes: 99 additions & 0 deletions Sashmit/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "poppins",sans-serif;

}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-image:url('image/image1.jpg');
background-size:100vw;
background-repeat:no-repeat ;
background-position: center;
}
.wrapper{
width: 420px;
background: transparent;
color: #fff;
border-radius: 10px;
padding: 30px 40px;
}
.wrapper h1{
font-size: 36px;
text-align: center;
}
.wrapper .input-box{
position: relative;
width: 100%;
height: 50px;
margin: 30px 0;
}
.input-box input{
width: 100%;
height: 100%;
background: transparent;
border: none;
outline: none;
border: 2px solid rgba(255,255,255,.2);
border-radius: 40px;
font-size: 16px;
color: #fff;
padding: 20px 45px 20px 20px;
}
.input-box input::placeholder{
color: #fff;
}
.input-box box-icon{
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
font: size 20px;
}
.wrapper .remember-forget{
display: flex;
justify-content: space-between;
font-size: 14.5px;
margin: -15px 0 15px;
}
.remember-forget label input{
accent-color: #fff;
margin-right: 3px;
}
.remember-forget a{
color: #fff;
text-decoration: none;
}
.remember-forget a:hover{
text-decoration: underline;
}
.wrapper .btn{
width: 100%;
height: 45px;
background: #fff;
border: none;
outline: none;
border-radius: 40px;
box-shadow: 0 0 10px rgba(0,0,0,.1 );
cursor: pointer;
font-size: 16px;
color: #333;
font-weight: 600;
}
.wrapper .register-link{
font-size: 14.5px;
text-align: center;
margin: 20px 0 15px;
}
.register-link p a{
color: #fff;
text-decoration: none;
font-weight: 600;
}
.register-link p a :hover{
text-decoration: underline;
}
35 changes: 35 additions & 0 deletions Sashmit/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>web1</title>
<link rel="stylesheet" href ="login.css" >
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<div class="wrapper">
<form action="">
<h1>LOGIN</h1>
<div class="input-box">
<input type="text" placeholder="username" required>
<box-icon name='user'></box-icon>
</div>
<div class="input-box">
<input type="password" placeholder="password" required>
<box-icon name='lock-alt' type='solid' ></box-icon>
</div>
<div class="remember-forget">
<label ><input type="checkbox">Remember me</label>
<a href="#">forgot password?</a>

</div>
<button type="submit" class="btn"> LOGIN</button>
<div class="register-link">
<p>don't have an account ?<a href="#">register</a></p>
</div>
</form>
</div>

</body>
</html>

0 comments on commit fac94eb

Please sign in to comment.