<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # 1.點擊搜索框出現寬度拉長的效果 效果圖 ![](https://i.loli.net/2019/03/09/5c832aa4a9498.gif) - 引入在線jQuery ~~~ <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script> ~~~ ~~~ <style> *{margin:0;padding: 0} //搜索框的修飾 form{ margin: 100px; width: 250px; height: 40px; position: relative; } button{ width: 23px; border: none; height: 22px; //在iconfont上下載的搜索圖標 background: url('images/搜索.png') no-repeat center center; position: absolute; right:10px; top:9px; } input{ padding: 20px; box-sizing: border-box; width: 250px; height: 40px; border-radius: 20px; border: none; background-color: #eee; /* 去掉了點亮效果 */ outline: none; } </style> <body> //建立表單 <form> <input type="text" id="input"> <button></button> </form> //動效的關鍵 <script> $("#input").focus(function(){ $(this).animate({width:"300px"},1000) $("button").animate({right:"-47px"},1000) }).blur(function(){ $(this).animate({width:"250px"},1000); $("button").animate({right:"10px"},1000) }) </script> </body> ~~~ # 2.點擊變色 ![](https://i.loli.net/2019/03/09/5c837da698d1f.gif) >引入在線jQuery ~~~ <style> div{ width:100px; height:100px; } .one{ background: yellow; } .two{ background: red; } </style> <body> <div class="one" id="div"> </div> <script> /* hasClass -->返回boolean addClass removeClass */ $("#div").click(function(){ if($(this).hasClass("one")){ $(this).removeClass("one").addClass("two") }else{ $(this).removeClass("two").addClass("one") } }) </script> </body> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看