zoukankan      html  css  js  c++  java
  • 手写动起来的直播小线条(小程序)

    WXML:

    <!--动起来的小线条-->

      <view slot='extra'>
        <view class="loader-inner">
          <view class="line"></view>
          <view class="line"></view>
          <view class="line"></view>
          <view class="line"></view>
          <view class="line"></view>
          <view class="line"></view>
        </view>
      </view>

    WXSS:

      // 直播动起来的小线条
      .loader-inner>.line{
         4rpx;
        height: 28rpx;
        display:inline-block;
        border-radius: 2rpx;
        margin: 2rpx;
        background-color:#FCFCFC;
        vertical-align:middle;
        -webkit-animation:loader-inner .9s -.5s infinite cubic-bezier(.11,.49,.38,.78);
        animation:loader-inner .9s -.5s infinite cubic-bezier(.11,.49,.38,.78)
      }
      .loader-inner>.line:nth-child(2),.loader-inner>.line:nth-child(4){
        -webkit-animation-delay:-.25s!important;
        animation-delay:-.25s!important
      }
      .loader-inner>.line:nth-child(1),.loader-inner>.line:nth-child(5){
        -webkit-animation-delay:0s!important;
        animation-delay:0s!important
      }
      @-webkit-keyframes loader-inner{
        0%,90%{
          -webkit-transform:scaley(1);
          transform:scaleY(1)
        }
        80%{
          -webkit-transform:scaley(.3);
          transform:scaleY(.3)
        }
      }
      @keyframes loader-inner{
        0%,90%{
          -webkit-transform:scaley(1);
          transform:scaleY(1)
        }
        80%{-webkit-transform:scaley(.3);
          transform:scaleY(.3)
        }
      }

  • 相关阅读:
    微信app支付,服务端对接
    git 忽略文件权限
    linux 终端全局代理设置
    centos 谷歌浏览器安装
    putty快速设置本地代理
    centos rpmforge repo
    mysql 同步
    apscheduler 排程
    tornado 排程
    gedit 格式化json
  • 原文地址:https://www.cnblogs.com/qianxiaoniantianxin/p/14487291.html
Copyright © 2011-2022 走看看