Requirements
Required knowledge
A basic understanding of CSS syntax and a preliminary understanding of CSS3 syntax. And basic JS/JQuery syntax.
- Development Environment
Adobe Dreamweaver CS6
- Demo address
Demo address
Preview (move your mouse up to view the demo address ):
Confirm the information submitted. The email address is blank. the user name is blank. The password is blank.
Ii. css code
{:;:;}{:;:;:;}{:; }{:;:;:;:;:;:;:;}{:;}{:;}{:;:;:;:;:;}{:;:;:;:;}{:;:;:;:; }{:;:;}{:;:;}{:;:;:;:;:;:;}{:;:;:;:;:;:;:;:;}{:;:;:;:;:;:;:;:;:;}{:;:;:;:;:;}{:;:;:;:;:;:;}{:;:;:;:;:;:;:;:;:;}{:;:;:;:;:;:;:;:;:;:; }{:;:;:;:;:;:;:;:;:;:;:; }{:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;}{:;:;}
3. JS Code
$ ("# Regist "). addClass ("current" (/^ [\ w \-\.] + @ [\ w \-] + (\. [a-zA-Z] {2, 4}) {1, 2} $ /. test (email) $ ("input [name]"). keyup ($ (). attr ('name') = "pass" & e. keyCode = 32 ). val ($. trim ($ (). val ())! = "" Maid ({display: 'none' succ_arr = $ ("input [name]"). focusout (msg = "" ($. trim ($ (). val () = "" ($ (). attr ('name') = 'name' 0] = "username is blank" ($ (). attr ('name') = 'pass' 1] = "the password is blank" ($ (). attr ('name') = 'email '2] = "Empty mailbox" ($ (). attr ('name') = 'name' 0] = ($ (). attr ('name') = 'pass' 1] = ($ (). attr ('name') = 'email '2] = (! Check_email ($. trim ($ (2] = "Incorrect format" a = $ (). nextAll ('span '). eq (0 'block' $ ("button [type = 'button ']"). click ("input [name]"). focusout (); (x succ_arr) {(succ_arr [x] =) "# regist "). removeClass ("current "". tip "). addClass ("current" data = $ ('# regist '). serialize (); $ (". tip p "". tip button ,. tip I "). click ("# regist "). addClass ("current "". tip "). removeClass ("current" "input [name]"). val (""
Is this about to end? Yes, it's over. Is it easy? Wait, it seems that there are 1.1 fewer. Oh, the code needs to introduce the Font Awesome vector Font icon! But what is this? Click the following link to View Details:
Font Awesome 4.0.3 provides 369 commonly used vector Font icons on webpages. Sina and Renren's vector icons are also included.
You can click here to view the logon form:
Self-made "low luxury" CSS3 login form, including JS verification, please do not abandon it.
If the above article or link is helpful to you, don't forget to click "" at the end of the article or click "" in the lower right corner of the page. You can also click the "floating" button on the right of the page to let more people read this article.
Author: Li-Cheng Source: Chen.