Home  >  Article  >  Web Front-end  >  Based on CSS3 dynamic background login box code_html/css_WEB-ITnose

Based on CSS3 dynamic background login box code_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:40:111799browse

Based on CSS3 dynamic background login box code. This is a dynamic background login box special effect with animated effects based on jQuery CSS3. The renderings are as follows:

Online preview Source code download

Implemented code.

html code:

<div class="htmleaf-container">        <div class="wrapper">            <div class="container">                <h1>Welcome</h1>                <form class="form">                    <input type="text" placeholder="Username">                    <input type="password" placeholder="Password">                    <button type="submit" id="login-button">Login</button>                </form>            </div>            <ul class="bg-bubbles">                <li></li>                <li></li>                <li></li>                <li></li>                <li></li>                <li></li>                <li></li>                <li></li>                <li></li>                <li></li>            </ul>        </div>    </div>    <script src="js/jquery-2.1.1.min.js" type="text/javascript"></script>    <script>        $('#login-button').click(function (event) {            event.preventDefault();            $('form').fadeOut(500);            $('.wrapper').addClass('form-success');        });    </script>

via: http://www.w2bc.com/article/51422

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn