"sign up form"
Bootstrap 3.3.0 Snippet by rasheedbhutto

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 ---------->
<!-- Begin container -->
<div class='container'>
<div class='container_inner'>
<h1>pure CSS Form</h1>
<h2>
Created by
<a href='http://hkmbhutto.wix.com/rasheedbhutto'>Rasheed Bhutto</a>
</h2>
<br>
<fieldset>
<div class='kickass_field'>
<input maxlength='30' required='required'>
<lable>
Username
<span>Your chosen username</span>
</lable>
</div>
<div class='kickass_field'>
<input maxlength='30' required='required' type='email'>
<lable>
Email address
<span>Your current email address</span>
</lable>
</div>
<div class='kickass_field'>
<input maxlength='30' pattern='.{6,}' required='required' type='password'>
<lable>
Password
<span>Minimum of 6 characters</span>
</lable>
</div>
<button>Sign up</button>
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
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
body {
font-family: "Lato", sans-serif;
text-align: center;
height: 100vh;
overflow: hidden;
margin: 0;
/* --- Form styling --- */
}
body fieldset {
border: none;
}
body fieldset:valid > button {
opacity: 1;
}
body fieldset:valid > button:hover {
opacity: 1;
background: #CD3C3C;
}
body button {
width: 280px;
opacity: .5;
cursor: pointer;
-webkit-transition: all .4s;
transition: all .4s;
border: none;
font-family: "Lato", sans-serif;
padding: 20px;
background-color: #f65252;
color: white;
outline: none;
margin-top: 15px;
}
body .kickass_field {
margin: auto;
position: relative;
left: 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: