"Aesthetic Good looking Login form"
Bootstrap 4.0.0 Snippet by bonifaceM

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Form</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- Custome CSS -->
<link rel="stylesheet" href="custome.css">
</head>
<body>
<div class="" style="margin-top: 150px;"></div>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-header">
<h5>Login Form</h5>
</div>
<div class="card-body">
<form action="" method="post">
<div class="input-group mb-3 input-group-sm">
<div class="input-group-prepend" style="">
<span class="input-group-text custome-css">User Name:</span>
</div>
<input type="text" class="form-control" placeholder="Enter username">
</div>
<div class="input-group mb-1 input-group-sm">
<div class="input-group-prepend addon1">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* input controls */
.custome-css {
background-image: linear-gradient(to left, #8B008B , #E6E6FA);
color:#fff !important;
border: 1px solid purple !important;
display:inline-block !important;
width: 130px;
text-align: right;
}
.form-control {
border: 1px solid #A020F0!important;
color:#A020F0!important;
}
/*card*/
.card-custome {
margin-top: 5px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: