Home > Web Front-end > HTML Tutorial > 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
Release: 2016-06-24 11:40:11
Original
1836 people have browsed it

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>
Copy after login

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

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template