久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

<i id='cDqtT'><tr id='cDqtT'><dt id='cDqtT'><q id='cDqtT'><span id='cDqtT'><b id='cDqtT'><form id='cDqtT'><ins id='cDqtT'></ins><ul id='cDqtT'></ul><sub id='cDqtT'></sub></form><legend id='cDqtT'></legend><bdo id='cDqtT'><pre id='cDqtT'><center id='cDqtT'></center></pre></bdo></b><th id='cDqtT'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='cDqtT'><tfoot id='cDqtT'></tfoot><dl id='cDqtT'><fieldset id='cDqtT'></fieldset></dl></div>
      • <bdo id='cDqtT'></bdo><ul id='cDqtT'></ul>

      <small id='cDqtT'></small><noframes id='cDqtT'>

      <tfoot id='cDqtT'></tfoot>

        <legend id='cDqtT'><style id='cDqtT'><dir id='cDqtT'><q id='cDqtT'></q></dir></style></legend>
      1. 用html的兩側翻轉div

        Flip div with two sides of html(用html的兩側翻轉div)

        <tfoot id='8PVls'></tfoot>
      2. <legend id='8PVls'><style id='8PVls'><dir id='8PVls'><q id='8PVls'></q></dir></style></legend>

            <tbody id='8PVls'></tbody>

            <small id='8PVls'></small><noframes id='8PVls'>

            <i id='8PVls'><tr id='8PVls'><dt id='8PVls'><q id='8PVls'><span id='8PVls'><b id='8PVls'><form id='8PVls'><ins id='8PVls'></ins><ul id='8PVls'></ul><sub id='8PVls'></sub></form><legend id='8PVls'></legend><bdo id='8PVls'><pre id='8PVls'><center id='8PVls'></center></pre></bdo></b><th id='8PVls'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='8PVls'><tfoot id='8PVls'></tfoot><dl id='8PVls'><fieldset id='8PVls'></fieldset></dl></div>

                • <bdo id='8PVls'></bdo><ul id='8PVls'></ul>
                  本文介紹了用html的兩側翻轉div的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我在當前正在構建的網(wǎng)站上有一個登錄表單,我也有一個注冊表單.當單擊注冊"鏈接時,我想通過將 div 旋轉到另一側來添加一些精美的動畫.我希望登錄表單位于正面,而注冊表單位于背面.我寧愿不使用 javascript,但如果有必要,我會.

                  I have a login form on a site I am currently building, and I also have a signup form. I would like to add some fancy animation to it by rotating the div to the other side when the "Sign up" link is clicked. I want the login form to be on the front side, and the signup form on the back. I would rather not use javascript, but if necessary, I will.

                  感謝您提供任何可能的答案!

                  Thanks for any possible answers!

                  推薦答案

                  您可以使用 CSS transitiontransform: rotateY() 來制作動畫,無需 Javascript,其他而不是通過添加一個類來觸發(fā)動畫.

                  You can do the animation using CSS transition and transform: rotateY() with no Javascript, other than triggering the animation by adding a class.

                  演示:http://jsfiddle.net/ThinkingStiff/9UMFg/

                  CSS:

                  .flip {
                      backface-visibility: hidden;
                      border: 1px solid black;
                      height: 150px;
                      position: absolute;
                      transform-origin: 50% 50% 0px;
                      transition: all 3s;
                      width: 300px;    
                  }
                  
                  #side-1 {
                      transform: rotateY( 0deg );
                  }
                  
                  #side-2 {
                      transform: rotateY( 180deg );   
                  }
                  
                  .flip-side-1 {    
                      transform: rotateY( 0deg ) !important;
                  }
                  
                  .flip-side-2 {
                      transform: rotateY( 180deg ) !important;
                  }
                  

                  HTML:

                  <form id="side-1" class="flip">
                      <div>login</div>
                      <input id="username" placeholder="enter username" />
                      <input id="password" placeholder="enter password" />
                      <a id="login" href="#">login</a>
                      <a id="signup" href="#">sign up</a>
                  </form>
                  <form id="side-2" class="flip">
                      <div>signup</div>
                      <input id="new-username" placeholder="enter username" />
                      <input id="new-password" placeholder="enter password" />
                      <input id="new-re-password" placeholder="re-enter password" />
                      <a id="create" href="#">create</a>
                  </form>
                  

                  腳本:

                  document.getElementById( 'signup' ).addEventListener( 'click', function( event ) {
                  
                      event.preventDefault();
                      document.getElementById( 'side-2' ).className = 'flip flip-side-1';
                      document.getElementById( 'side-1' ).className = 'flip flip-side-2';
                  
                  }, false );
                  

                  這篇關于用html的兩側翻轉div的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調(diào)用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調(diào)用完成)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發(fā)技術分
                  What is the difference between XMLHttpRequest, jQuery.ajax, jQuery.post, jQuery.get(XMLHttpRequest、jQuery.ajax、jQuery.post、jQuery.get 有什么區(qū)別)
                  Can onprogress functionality be added to jQuery.ajax() by using xhrFields?(可以使用 xhrFields 將 onprogress 功能添加到 jQuery.ajax() 嗎?)
                  Show a progress bar for downloading files using XHR2/AJAX(顯示使用 XHR2/AJAX 下載文件的進度條)
                  How can I open a JSON file in JavaScript without jQuery?(如何在沒有 jQuery 的情況下在 JavaScript 中打開 JSON 文件?)

                    <tbody id='Vnd6t'></tbody>
                  <legend id='Vnd6t'><style id='Vnd6t'><dir id='Vnd6t'><q id='Vnd6t'></q></dir></style></legend>

                  <small id='Vnd6t'></small><noframes id='Vnd6t'>

                  <tfoot id='Vnd6t'></tfoot>
                    <bdo id='Vnd6t'></bdo><ul id='Vnd6t'></ul>
                      <i id='Vnd6t'><tr id='Vnd6t'><dt id='Vnd6t'><q id='Vnd6t'><span id='Vnd6t'><b id='Vnd6t'><form id='Vnd6t'><ins id='Vnd6t'></ins><ul id='Vnd6t'></ul><sub id='Vnd6t'></sub></form><legend id='Vnd6t'></legend><bdo id='Vnd6t'><pre id='Vnd6t'><center id='Vnd6t'></center></pre></bdo></b><th id='Vnd6t'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Vnd6t'><tfoot id='Vnd6t'></tfoot><dl id='Vnd6t'><fieldset id='Vnd6t'></fieldset></dl></div>

                          • 主站蜘蛛池模板: 国产一区二区精品在线 | 国产成人精品a视频一区www | 亚洲xx在线 | 免费黄色大片 | 久久这里只有精品首页 | 久久这里只有精品首页 | 欧美一卡二卡在线观看 | 日韩国产在线 | 美女网站视频免费黄 | 精品国产乱码久久久久久88av | 麻豆国产精品777777在线 | 99国内精品久久久久久久 | 国产激情在线观看视频 | 91精品国产自产在线老师啪 | 国产一区二区在线免费 | 色综合一区二区三区 | 二区三区视频 | 玖玖综合在线 | 精品国产鲁一鲁一区二区张丽 | 一区二区三区四区视频 | 国产中文| 成人性生交大片免费看中文带字幕 | 国产无人区一区二区三区 | 国产精品日韩在线观看 | 亚洲国产高清免费 | 九九热在线视频观看这里只有精品 | 欧美成人a | 成人一区二 | 男女羞羞免费视频 | 玖草资源| 欧美日韩精品一区 | 国产一区二区三区不卡av | 欧美亚洲免费 | 国产成人精品一区二区三区在线 | 免费黄视频网站 | 日韩成人在线电影 | 国产成人综合一区二区三区 | 羞羞视频网站在线观看 | 亚洲视频一区在线播放 | 在线视频中文字幕 | 亚洲伦理自拍 |