"Signin and Signup page"
Bootstrap 3.3.0 Snippet by yasirtaher

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/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="col-md-6">
<div id="logbox">
<form id="signup" method="post" action="/signup">
<h1>create an account</h1>
<input name="user[name]" type="text" placeholder="What's your username?" pattern="^[\w]{3,16}$" autofocus="autofocus" required="required" class="input pass"/>
<input name="user[password]" type="password" placeholder="Choose a password" required="required" class="input pass"/>
<input name="user[password2]" type="password" placeholder="Confirm password" required="required" class="input pass"/>
<input name="user[email]" type="email" placeholder="Email address" class="input pass"/>
<input type="submit" value="Sign me up!" class="inputButton"/>
<div class="text-center">
already have an account? <a href="#" id="login_id">login</a>
</div>
</form>
</div>
</div>
<!--col-md-6-->
<div class="col-md-6">
<div id="logbox">
<form id="signup" method="post" action="/signup">
<h1>account login</h1>
<input name="user[email]" type="email" placeholder="enter your email" class="input pass"/>
<input name="user[password]" type="password" placeholder="enter your password" required="required" class="input pass"/>
<input type="submit" value="Sign me in!" class="inputButton"/>
<div class="text-center"">
<a href="#" id="">create an account</a> - <a href="#" id="">forgot password</a>
</div>
</form>
</div>
</div>
</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
33
34
35
36
37
::selection {
background-color: #b5e2e7;
}
::-moz-selection {
background-color: #8ac7d8;
}
body {
background: #3CC;
}
.container {
display: -webkit-flex;
display: flex;
height: 100%;
}
#logbox {
padding: 10px;
margin: 50px auto;
width: 340px;
background-color: #fff;
-webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
-moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}
h1 {
text-align: center;
font-size: 175%;
color: #757575;
font-weight: 300;
}
h1, input {
font-family: "Open Sans", Helvetica, sans-serif;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

very nice post i really like it. a2znulled

Cric Time () - 8 years ago - Reply 0