Introduction
Today we will learn about How to create Deluxe Social Login Form.
HTML STRUCTURE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deluxe Social Login Form</title>
</head>
<body>
<div class="bg-image"></div>
<div class="login-container">
<div class="login-form">
<h2>Deluxe Social Login Form</h2>
<button type="button" class="btn btn-primary w-100">
<i class="fab fa-facebook-f"></i> Login with Facebook
</button>
<button type="button" class="btn btn-danger w-100">
<i class="fab fa-google"></i> Login with Google
</button>
<button type="button" class="btn btn-info w-100">
<i class="fab fa-twitter"></i> Login with Twitter
</button>
</div>
</div>
</body>
</html>
CSS STRUCTURE
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
<style>
body, html {
height: 100%;
margin: 0;
}
.bg-image {
background-image: url('https://manglastubh.com/wp-content/uploads/2023/06/cropped-Manglastubh-By-Ankit-Akolkar-Official-Logo-Transparent-100x101.png');
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: 50%;
position: absolute;
width: 50%;
left: 0;
}
.login-container {
height: 100%;
width: 50%;
position: absolute;
right: 0;
padding: 50px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.9);
}
.login-form {
max-width: 300px;
width: 100%;
}
h2 {
text-align: center;
margin-bottom: 24px;
color: #333;
}
.btn {
font-size: 18px;
border-radius: 30px;
padding: 12px 30px;
margin: 10px 0;
transition: all 0.3s ease-in-out;
border: none;
}
.btn i {
margin-right: 10px;
}
.btn:hover {
transform: translateY(-2px);
}
</style>
JAVASCRIPT AND JQUERY
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
CODE INCLUDE
This Login Form code includes the mentioned things
- HTML Code
- CSS Code
- JavaScript Code
Deluxe SOCIAL LOGIN FORM FEATURES
- Desktop View is Perfect
- Mobile View is Perfect
- Include Bootstrap CDN Library
- Live Webpage Preview Button
How To Create Deluxe Social Login Form. Manglastubh By Ankit Akolkar. Search on Google Free Online Courses.
Welcome to Manglastubh By Ankit Akolkar. Manglastubh website is designed and developed for all kinds of Knowledge-Based Blogs and Articles. Everyone will gain knowledge over here from this website.