- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
We have seen many ways to get users' information via web applications, but when we deal with products, we always want a unique account for users, and to achieve it, we need a smooth, responsive, and user-friendly design of login forms where users can create accounts hassle-free.
The following design has all these features.
To create this design, just use the below mention code
Step 1: Use this HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login Template</title>
<meta name="description" content="">
<meta name="author" content="">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:description" content="">
<meta property="og:image" content="">
<link rel="icon" href="/favicon.ico">
<link rel="stylesheet" href="assets/css/bootstrap.min.css?v=1.0">
<link rel="stylesheet" href="assets/css/style3.css?v=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
">
</head>
<body>
<!-- your content here... -->
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="card">
<form onsubmit="event.preventDefault()" class="box">
<h1>Login</h1>
<p class="text-muted"> Please enter your login and password!</p> <input type="text" name="" placeholder="Username"> <input type="password" name="" placeholder="Password"> <a class="forgot text-muted" href="#">Forgot password?</a> <input type="submit" name="" value="Login" href="#">
<div class="col-md-12">
<ul class="social-network social-circle">
<li><a href="#" class="icoFacebook" title="Facebook"><i class="fa fa-facebook-f"></i></a></li>
<li><a href="#" class="icoTwitter" title="Twitter"><i class="fa fa-twitter"></i></a></li>
<li><a href="#" class="icoGoogle" title="Google +"><i class="fa fa-google-plus"></i></a></li>
</ul>
</div>
</form>
</div>
</div>
</div>
</div>
<script src="assets/js/jquery-3.2.1.slim.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
</body>
</html>
Step 2: Use this CSS to make it colorful
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background: rgb(238,174,202);
background: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
}
.card {
margin-bottom: 20px;
border: none
}
.box {
width: 500px;
padding: 40px;
position: absolute;
top: 50%;
left: 50%;
background: #191919;
;
text-align: center;
transition: 0.25s;
margin-top: 100px
}
.box input[type="text"],
.box input[type="password"] {
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid #3498db;
padding: 10px 10px;
width: 250px;
outline: none;
color: white;
border-radius: 24px;
transition: 0.25s
}
.box h1 {
color: white;
text-transform: uppercase;
font-weight: 500
}
.box input[type="text"]:focus,
.box input[type="password"]:focus {
width: 300px;
border-color: #2ecc71
}
.box input[type="submit"] {
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid #2ecc71;
padding: 14px 40px;
outline: none;
color: white;
border-radius: 24px;
transition: 0.25s;
cursor: pointer
}
.box input[type="submit"]:hover {
background: #2ecc71
}
.forgot {
text-decoration: underline
}
ul.social-network {
list-style: none;
display: inline;
margin-left: 0 !important;
padding: 0
}
ul.social-network li {
display: inline;
margin: 0 5px
}
.social-network a.icoFacebook:hover {
background-color: #3B5998
}
.social-network a.icoTwitter:hover {
background-color: #33ccff
}
.social-network a.icoGoogle:hover {
background-color: #BD3518
}
.social-network a.icoFacebook:hover i,
.social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i {
color: #fff
}
a.socialIcon:hover,
.socialHoverClass {
color: #44BCDD
}
.social-circle li a {
display: inline-block;
position: relative;
margin: 0 auto 0 auto;
border-radius: 50%;
text-align: center;
width: 50px;
height: 50px;
font-size: 20px
}
.social-circle li i {
margin: 0;
line-height: 50px;
text-align: center
}
.social-circle li a:hover i,
.triggeredHover {
transform: rotate(360deg);
transition: all 0.2s
}
.social-circle i {
color: #fff;
transition: all 0.8s;
transition: all 0.8s
}
I hope you would like this design of the login page. If it is helpful to you, kindly share it with others. Thank You! :)
- Get link
- X
- Other Apps

Comments
Post a Comment