Share a login registration form code based on HTML5 mobile phone. This is a mouse click Register Sign-in button popup form, suitable for mobile use. As follows:
Online preview Source Download
The implemented code.
HTML code:
<Divclass= "Demo"> <navclass= "Main_nav"> <ul> <Li><aclass= "Cd-signin"href= "#0">Login</a></Li> <Li><aclass= "Cd-signup"href= "#0">Registered</a></Li> </ul> </nav> </Div> <Divclass= "Cd-user-modal"> <Divclass= "Cd-user-modal-container"> <ulclass= "Cd-switcher"> <Li><ahref= "#0">User Login</a></Li> <Li><ahref= "#0">Register a new user</a></Li> </ul> <DivID= "Cd-login"> <!--Login Form - <formclass= "Cd-form"> <Pclass= "FieldSet"> <labelclass= "Image-replace cd-username" for= "Signin-username">User name</label> <inputclass= "Full-width has-padding has-border"ID= "Signin-username"type= "text"placeholder= "Enter user name"> </P> <Pclass= "FieldSet"> <labelclass= "Image-replace Cd-password" for= "Signin-password">Password</label> <inputclass= "Full-width has-padding has-border"ID= "Signin-password"type= "text"placeholder= "Enter Password"> </P> <Pclass= "FieldSet"> <inputtype= "checkbox"ID= "Remember-me"checked> <label for= "Remember-me">Remember login status</label> </P> <Pclass= "FieldSet"> <inputclass= "Full-width2"type= "Submit"value= "Login"> </P> </form> </Div> <DivID= "Cd-signup"> <!--Registration Form - <formclass= "Cd-form"> <Pclass= "FieldSet"> <labelclass= "Image-replace cd-username" for= "Signup-username">User name</label> <inputclass= "Full-width has-padding has-border"ID= "Signup-username"type= "text"placeholder= "Enter user name"> </P> <Pclass= "FieldSet"> <labelclass= "Image-replace cd-email" for= "Signup-email">Email</label> <inputclass= "Full-width has-padding has-border"ID= "Signup-email"type= "Email"placeholder= "Enter Mail"> </P> <Pclass= "FieldSet"> <labelclass= "Image-replace Cd-password" for= "Signup-password">Password</label> <inputclass= "Full-width has-padding has-border"ID= "Signup-password"type= "text"placeholder= "Enter Password"> </P> <Pclass= "FieldSet"> <inputtype= "checkbox"ID= "Accept-terms"> <label for= "Accept-terms">I have read and agree<ahref= "#0">User Agreement</a></label> </P> <Pclass= "FieldSet"> <inputclass= "Full-width2"type= "Submit"value= "Register new user"> </P> </form> </Div> <ahref= "#0"class= "Cd-close-form">Shut down</a> </Div> </Div>
via:http://www.w2bc.com/article/46115
Login Registration Form code based on HTML5 mobile phone