Login Design

login Page Html Css
Login Page

Simple and beautiful Login for your web

HTML


<!DOCTYPE html>
<html>
<head>
<title>Sample Login Design</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<!-- Custom style -->
<link rel="stylesheet" href="style.css">
</head>

<body>

<div class="outer-div">
<div class="login-div row">
<!-- Left section -->
<div class="col-md-5 left-div">
<div class="logo">
<img src="" width="200">
</div>
<h2>Brand Name</h2>
<p class="sub-itle">
<small>Lorem Ipsum is simply dummy text</small>
</p>

<footer>&copy; 2020 www.sample.com</footer>
</div>
<!-- Right section -->
<div class="col-md-7 right-div">
<br><br>
<h1>Login</h1>
<p><small>Lorem Ipsum is simply dummy text</small></p>
<br>
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">
<button class="login-btn">Login</button>
<p><small>Forgot password <a href="#">Click</a> </small></p>
<p><small>New user register here <a href="#">Click</a> </small></p>
</div>
</div>
</div>
</body>
</html>


CSS


body{
color:#202f35;
}

.outer-div {
height:100%;
width: 100%;
left:0;
top:0;
position: absolute;
background: url('') no-repeat, #333;
background-position: center;
background-size: cover;
background-blend-mode: overlay;
}

.login-div {
position:relative;
width:700px;
height:500px;
margin:auto;
/* border:solid 1px red; */
top:50%;
transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-moz-transform: translateY(-50%);
box-shadow: 0 0 8px 0 #333;
border-radius: 8px;
}
/* Left side css */
.left-div {
height: inherit;
background: #202f35;
color:#fff;
text-align:center;
border-radius: 5px 0 0 5px;
}


footer {
left:0;
bottom: 5px;
position: absolute;
width: 100%;
font-size: 10px;
}

/* Right side Css */

.right-div {
height: inherit;
background: #FFF;
text-align:center;
border-radius: 0 5px 5px 0;
}

input, .login-btn {
display:block;
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
font-size: 14px;
border-radius: 25px;
outline:none;
width: 280px;
padding: 10px;
text-align: center;
border:solid 2px #e0e0e0;
transition: .2s;
}

input:focus {
width:330px;
border:solid 2px #7fc414;
}

.login-btn {
color: #fff;
border: solid 2px #7fc414;
background: #7fc414;
width:200px;
transition: all 0.5s;
}

.login:hover {
font-weight: bold;
border: solid 2px #5db905;
background: #5db905;

}

Comments

Popular posts from this blog

Registration Page