"Login Form & Register Form With Glassy Effect"
Bootstrap 4.1.1 Snippet by neerajposwal

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.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 ---------->
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Glssy Effect Form</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous">
</head>
<body style="background-color:#4662a3;color:white;">
<div class="col-lg-12 col-xs-12">
<h2>Login Form & Register Form With Glassy Effect</h2>
</div>
<div class="col-lg-12 col-xs-12">
<div class="col-lg-offset-1 col-lg-4 col-sm-6 ">
<form class="form1">
<div class="form-group" style="margin-top:20%;">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Enter email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
<small id="emailHelp" class="form-text text-muted">We'll never share your password with anyone else.</small>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
body{width:100%;
height:100%;
font-variant:small-caps;
color:white;
font-weight:bold;}
.form1{
padding:30px;
height:430px;
margin-top:7%;
border-radius:10px;
color:white;
box-shadow:inset 0 0 20px gray;
}
.form1:hover{
background-color:black;
transition:0.5s;
color:white;
}
#form2{
border:0px solid black;
padding:30px;
height:430px;
margin-top:5%;
border-radius:10px;
color:white;
box-shadow:inset 0 0 20px gray;
}
#form2:hover{background-color:black;transition:0.5s;color:white;}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: