首页 技术 正文
技术 2022年11月20日
0 收藏 769 点赞 2,555 浏览 5020 个字

1. [代码]3个很实用的HTML5+CSS3注册登录窗体切换效果

<!DOCTYPE html>
<!–[if lt IE 7 ]> <html lang=”en” class=”no-js ie6 lt8″> <![endif]–>
<!–[if IE 7 ]>    <html lang=”en” class=”no-js ie7 lt8″> <![endif]–>
<!–[if IE 8 ]>    <html lang=”en” class=”no-js ie8 lt8″> <![endif]–>
<!–[if IE 9 ]>    <html lang=”en” class=”no-js ie9″> <![endif]–>
<!–[if (gt IE 9)|!(IE)]><!–> <html lang=”en” class=”no-js”> <!–<![endif]–>
    <head>
        <meta charset=”UTF-8″ />
        <!– <meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>  –>
       <title>3个很实用的HTML5+CSS3注册登录窗体切换效果 – 模板巴士www.mobanbus.cn</title>
        <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> 
        <meta name=”description” content=”Login and Registration Form with HTML5 and CSS3″ />
        <meta name=”keywords” content=”html5, css3, form, switch, animation, :target, pseudo-class” />
        <meta name=”author” content=”Codrops” />
        <link rel=”shortcut icon” href=”../favicon.ico”> 
        <link rel=”stylesheet” type=”text/css” href=”css/demo.css” />
        <link rel=”stylesheet” type=”text/css” href=”css/style.css” />
        <link rel=”stylesheet” type=”text/css” href=”css/animate-custom.css” />
    </head>
    <body>
        <div class=”container”>
            <!– Codrops top bar –>
            <div class=”codrops-top”>
                <a href=””>
                    <strong>&laquo; Previous Demo: </strong>Responsive Content Navigator
                </a>
                <span class=”right”>
                    <a href=” http://tympanus.net/codrops/2012/03/27/login-and-registration-form-with-html5-and-css3/”>
                        <strong>Back to the Codrops Article</strong>
                    </a>
                </span>
                <div class=”clr”></div>
            </div><!–/ Codrops top bar –>
            <header>
                <h1>Login and Registration Form <span>with HTML5 and CSS3</span></h1>
                <nav class=”codrops-demos”>
                    <span>Click <strong>”Join us”</strong> to see the form switch</span>
                    <a href=”index.html” class=”current-demo”>Demo 1</a>
                    <a href=”index2.html”>Demo 2</a>
                    <a href=”index3.html”>Demo 3</a>
                </nav>
            </header>
            <section>             
                <div id=”container_demo” >
                    <!– hidden anchor to stop jump http://www.css3create.com/Astuce-Empecher-le-scroll-avec-l-utilisation-de-target#wrap4  –>
                    <a class=”hiddenanchor” id=”toregister”></a>
                    <a class=”hiddenanchor” id=”tologin”></a>
                    <div id=”wrapper”>
                        <div id=”login” class=”animate form”>
                            <form  action=”mysuperscript.php” autocomplete=”on”> 
                                <h1>Log in</h1> 
                                <p> 
                                    <label for=”username” class=”uname” data-icon=”u” > Your email or username </label>
                                    <input id=”username” name=”username” required=”required” type=”text” placeholder=”myusername or mymail@mail.com”/>
                                </p>http://www.huiyi8.com/zhexue/​
                                <p> 哲学范文
                                    <label for=”password” class=”youpasswd” data-icon=”p”> Your password </label>
                                    <input id=”password” name=”password” required=”required” type=”password” placeholder=”eg. X8df!90EO” /> 
                                </p>
                                <p class=”keeplogin”> 
                                    <input type=”checkbox” name=”loginkeeping” id=”loginkeeping” value=”loginkeeping” /> 
                                    <label for=”loginkeeping”>Keep me logged in</label>
                                </p>
                                <p class=”login button”> 
                                    <input type=”submit” value=”Login” /> 
                                </p>
                                <p class=”change_link”>
                                    Not a member yet ?
                                    <a href=”#toregister” class=”to_register”>Join us</a>
                                </p>
                            </form>
                        </div>
 
                        <div id=”register” class=”animate form”>
                            <form  action=”mysuperscript.php” autocomplete=”on”> 
                                <h1> Sign up </h1> 
                                <p> 
                                    <label for=”usernamesignup” class=”uname” data-icon=”u”>Your username</label>
                                    <input id=”usernamesignup” name=”usernamesignup” required=”required” type=”text” placeholder=”mysuperusername690″ />
                                </p>
                                <p> 
                                    <label for=”emailsignup” class=”youmail” data-icon=”e” > Your email</label>
                                    <input id=”emailsignup” name=”emailsignup” required=”required” type=”email” placeholder=”mysupermail@mail.com”/> 
                                </p>
                                <p> 
                                    <label for=”passwordsignup” class=”youpasswd” data-icon=”p”>Your password </label>
                                    <input id=”passwordsignup” name=”passwordsignup” required=”required” type=”password” placeholder=”eg. X8df!90EO”/>
                                </p>
                                <p> 
                                    <label for=”passwordsignup_confirm” class=”youpasswd” data-icon=”p”>Please confirm your password </label>
                                    <input id=”passwordsignup_confirm” name=”passwordsignup_confirm” required=”required” type=”password” placeholder=”eg. X8df!90EO”/>
                                </p>
                                <p class=”signin button”> 
                                    <input type=”submit” value=”Sign up”/> 
                                </p>
                                <p class=”change_link”>  
                                    Already a member ?
                                    <a href=”#tologin” class=”to_register”> Go and log in </a>
                                </p>
                            </form>
                        </div>
                         
                    </div>
                </div>  
            </section>
        </div>
 
   </body>
</html>

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,036
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,522
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,370
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,151
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,784
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,866