Self-made "low luxury" CSS3 login form, including JS verification, please do not abandon it.

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.