Responsive form V8.0 |
Related Articles:
Animated Circular Menu
Floating Social Menu V1.0
Pre Loader V5.0 (With two different animation)
Here's the code snippet:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Login V8.0 By roundCube</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
</head>
<body>
<div id="dots"></div>
<div id="dots"></div>
<div id="dots"></div>
<div id="dots"></div>
<div id="form">
<h1><b>User Login</b></h1>
</br></br>
<img src="http://p.w3layouts.com/demos/user_login/images/avtar.png" height="140" width="140" style="left:25%">
<div id="login">
<div id="loginFields">
</br>
<form class="form-inline" role="form">
<div class="form-group">
<input type="email" class="form-control input-lg" id="email" placeholder="USERNAME">
</div>
<div class="form-group">
<input type="password" class="form-control input-lg" id="pwd" placeholder="******">
</div>
</div>
<div id="submission">
<button type="submit" class="btn btn-default btn-lg login">GO</button>
</div>
</div>
</form>
</div>
<div id="copyright"><a href="https://www.facebook.com/roundCubeInc?fref=ts"><p>© roundCube</a></br> Idea By: w3layouts.com</p></div>
</body>
<style>
body{
background-image: url(https://photoshopgimptutorials.files.wordpress.com/2012/08/step-7.jpg);
}
#form{
position: absolute;
top:3%;
height:500px;
left:27%;
width:44%;
color:white;
text-align: center;
}
#dots {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: url('http://www.uiueux.com/wp/flowfolio/wp-content/themes/flowfolio/img/bg_mask.png');
}
#login{
position: absolute;
bottom:5px;
left: 5%;
width:100%;
height:17%;
border-radius: 7px;
}
.input-lg{
border-color: #939393;
}
#loginFields{
position: absolute;
top:0px;
left:0px;
width:90%;
height:100%;
background-color: white;
border-radius: 7px;
}
#submission{
position: absolute;
top:25%;
height:50%;
width:10%;
right:0%;
}
.login{
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
background-color: orange;
border-color: orange;
color: white;
}
.login:Hover{
background-color: #0080ff;
border-color: #0080ff;
color:White;
}
#copyright{
position: absolute;
bottom:2px;
height:10%;
left:0px;
width:100%;
text-align: center;
color:white;
}
#copyright a{
color:white;
text-decoration: none;
}
#copyright a:hover{
color:orange;
}
@media only screen and (max-width:1306px)
{
#form{
width:50%;
left:25%;
}
}
@media only screen and (max-width:1152px)
{
#form{
width:60%;
left:20%;
}
}
@media only screen and (max-width:974px)
{
#form{
width:65%;
left:17.5%;
}
}
@media only screen and (max-width:901px)
{
#form{
width:70%;
left:15%;
}
}
@media only screen and (max-width:837px)
{
#form{
width:75%;
left:12.5%;
}
}
@media only screen and (max-width:783px)
{
#form{
width:80%;
left:10%;
}
}
@media only screen and (max-width:765px)
{
#login{
height:29%;
}
#submission{
top:38%;
}
#form{
left:25%;
width:50%;
}
#loginFields{
padding-right:15px;
padding-left: 15px;
}
}
@media only screen and (max-width:618px)
{
#form{
width:60%;
left:20%;
}
}
@media only screen and (max-width:557px)
{
#form{
width:70%;
left:15%;
}
}
@media only screen and (max-width:496px)
{
#form{
width:80%;
left:10%;
}
}
@media only screen and (max-width:460px)
{
#form{
left:3%;
}
}
</style>
</html>
If you have any confusions in mind or want to ask for snippets leave a comment below or leave a message on our page
If you like our work please don't remove the hyperlink to our Facebook page.
0 comments: