Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537 Warning: error_log(/data/www/wwwroot/hmttv.cn/caches/error_log.php): failed to open stream: Permission denied in /data/www/wwwroot/hmttv.cn/phpcms/libs/functions/global.func.php on line 537 亚洲依依成人综合网址首页,www.国产.com,国产精品免费观看视频

          整合營銷服務商

          電腦端+手機端+微信端=數據同步管理

          免費咨詢熱線:

          簡單好用,css3實現上下元素移動

          們經常看見某些元素會上上下下,比如箭頭的指引效果,這個CSS3就可以完成此動作,簡單好用,親測。

          @-webkit-keyframes bounce-down {

          25% {

          -webkit-transform: translateY(-10px);

          }

          50%, 100% {

          -webkit-transform: translateY(0);

          }

          75% {

          -webkit-transform: translateY(10px);

          }

          }

          @keyframes bounce-down {

          25% {

          transform: translateY(-10px);

          }

          50%, 100% {

          transform: translateY(0);

          }

          75% {

          transform: translateY(10px);

          }

          }

          .animate-bounce-down{

          -webkit-animation: bounce-down 1.5s linear infinite;

          animation: bounce-down 1.5s linear infinite;

          }

          @-webkit-keyframes bounce-up {

          25% {

          -webkit-transform: translateY(10px);

          }

          50%, 100% {

          -webkit-transform: translateY(0);

          }

          75% {

          -webkit-transform: translateY(-10px);

          }

          }

          @keyframes bounce-up {

          25% {

          transform: translateY(10px);

          }

          50%, 100% {

          transform: translateY(0);

          }

          75% {

          transform: translateY(-10px);

          }

          }

          .animate-bounce-up{

          -webkit-animation: bounce-up 1.4s linear infinite;

          animation: bounce-up 1.4s linear infinite;

          }

          運用

          <div class="animate-bounce-up"></div>

          --------------------------------

          來源:切圖網(qietu.com)始于2007年,專注web前端開發、培訓。

          在的移動端頁面中,很多網站都用到了側邊切換菜單欄功能,針對于該功能, 利用CSS3的知識,寫了一個實現側滑的效果。

          效果展示如下:

          HTML:首先寫好側邊的布局。然后不是側邊的內容塊最好用一個內容塊包圍住。

          CSS樣式

          給側邊菜單定位,起始位置為left:-50%,當點擊菜單的展開按鈕,側邊菜單就加上open類目,讓left:值為0,即展開切換。同理。main也一樣。

          JQ代碼

          當點擊菜單展開按鈕 定義類名為 f-lei,側邊菜單切換添加刪除類open, 主內容切換添加刪除類show。當側邊展開時,點擊展開的剩余背景能收縮展開的菜單欄。

          <!DOCTYPE html>
          <html lang="en">
          <head>
              <meta charset="UTF-8">
              <title>登錄頁面</title>
              /*總體的樣式*/
              <style>
              	/*盒子樣式*/
                  #box{
                      width: 350px; //寬
                      height: 450px; //高
                      border: 1px solid black; //邊框
                      border-radius: 10px; //邊框弧度
                      font-family: 黑體; //字體
                      letter-spacing:8px; //段間距
                      word-spacing: 10px; //字間距
                      line-height: 40px; //行高
                      font-size: 18px; //字大小
                      padding: 20px; //內邊框
                  }
                  /*給'注冊'賦予樣式*/
                  .register{
                      width:280px ; //寬
                      height: 50px; //高
                      background-color: skyblue; //背景顏色
                      border-radius: 10px; //邊框弧度
          
                  }
                  /*將所有邊框都改變*/
                  *{
                      border-radius: 5px; 邊框弧度
                  }
                  /*使用class選擇器,賦予number寬高和邊框*/
                  .number{
                      width: 185px; //寬
                      height: 27px; //高
                      border-width: 1px; //邊框寬度
          
                  }
                  /*id選擇器*/
                  #two{
                      width: 55px; //寬
                      border-width: 1px; 邊框寬度
                  }
                  /*id選擇器*/
                  #phone{
                      width: 103px; //寬
                  }
                  /*class 選擇器*/
                  .boxs{
                      zoom: 75%; //清除浮動
                      color: darkgray; //顏色
                  }
                  /*class選擇器*/
                  .box_a{
                      width: 50px; //寬
                      height: 50px; //高
                      background-image: url("../image/04.jpg "); //背景圖片
                      background-repeat: no-repeat; // 是否平鋪
                      background-size: 50px 25px; //背景尺寸
                      position: relative; //定位 相對定位
                      left: 310px; //定位后左移
                      bottom: 32px; //定位后下移
          
                  }
              </style>
          </head>
          <body>
          <div id="box">
              <h1>請注冊</h1>
          <p style="color: darkgray">已有帳號?<a href="https://im.qq.com/index">登錄</a></p>
          <form action="" method="post">
              <label for="name">用戶名</label>
              <input type="text" placeholder="請輸入用戶名" id="name" class="number"> <br>
              <label for="phone">手機號</label>
              <select name="" id="two" class="number">
              <optgroup>
                  <option style="" class="">+86</option>
              </optgroup>
              </select>
              <input type="text" placeholder="請輸入手機號" id="phone" class="number"> <br>
              <label for="mima">密?碼</label>
              <input type="password" placeholder="請輸入密碼" id="mima" class="number"> <br>
              <label for="mima">驗證碼</label>
              <input type="password" placeholder="請輸入驗證碼" id="is" class="number">
              <div class="box_a"></div>
              <div class="boxs">
                  <input type="radio" id="" class="accept">閱讀并接受協議<br>
              </div>
              <input type="submit" value="注冊" class="register" >
          
              </form>
          </div>
          
          
          </body>
          </html>
          在這里插入圖片描述


          主站蜘蛛池模板: 丰满爆乳无码一区二区三区| 国产乱码精品一区二区三区四川| 影音先锋中文无码一区| 无码人妻精一区二区三区| 日本一区二区在线不卡| 中文字幕av人妻少妇一区二区 | 国产日韩高清一区二区三区| 亚洲国产成人久久综合一区 | 一本大道东京热无码一区| 亚洲一区二区免费视频| 本免费AV无码专区一区| 日本免费一区二区三区最新vr| 成人区人妻精品一区二区不卡视频| 日韩人妻精品无码一区二区三区| 精品无码一区二区三区在线| 日韩精品一区二区午夜成人版| 丝袜美腿一区二区三区| 一区二区视频在线播放| 国产高清不卡一区二区| 一本AV高清一区二区三区| 国产在线精品一区二区不卡麻豆 | 国产精品免费综合一区视频| 亚洲综合激情五月色一区| 亚洲av无码片区一区二区三区| 日本亚洲成高清一区二区三区| 久久一区二区三区99| 国产在线精品一区二区三区不卡| 爆乳熟妇一区二区三区霸乳| 国产成人综合精品一区| 国产亚洲无线码一区二区| 亚洲AV无码一区二区三区DV| 性色AV一区二区三区| 日韩爆乳一区二区无码| 国产香蕉一区二区在线网站| 亚洲一区二区三区成人网站| 秋霞日韩一区二区三区在线观看 | 亚洲AV成人精品日韩一区18p | 韩国美女vip福利一区| 国产一区二区三区小说| 在线日韩麻豆一区| 亚洲AV永久无码精品一区二区国产 |