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 ):
User Login email/name email is Blank Password is Blank Login
Ii. css code
{:;:;}{:;:;:;}{:; }{:;:;:;:;:;:;:;}{:;:;}{:;}{:;}{:;:;:;:;:;:;}{:;:;:;:;:;:;:;:;:;}{:;:;:;:;:;}{:;:;:;:;:;:;:;}{:;:;:;:;:;:;:;:;:;}{:;:;:;:;:;:;:;:;:;:; }{:;:;:;:;:;:;:;:;:;:;:; }{:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;}{:;:;}{:;:;:;}
3. JS Code
$ ("# Login "). 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] = "login name blank" ($ (). attr ('name') = 'pass' 1] = "the password is blank" ($ (). attr ('name') = 'name' 0] = ($ (). attr ('name') = 'pass' 1] = a = $ (). nextAll ('span '). eq (0 'block' $ ("button [type = 'button ']"). click ("input [name]"). focusout (); (x succ_arr) {(succ_arr [x] =) data =$ ('# login '). serialize ();
Okay, it's over. Isn't that easy. Try it now. If the code is too rough, refactor the code yourself. Oh, My God! Did I use a very professional technical word ?! Okay, you win. If you really cannot accept this kind of "low-luxury" login form, I have found a "high-end" CSS3 login form on the Internet to share with you, click here to view details:
I collected a CSS 3 logon form on the Internet and shared it with you.
"Button 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.