zoukankan      html  css  js  c++  java
  • css制作类似加载滚动

    //css begin

    <style>

    .wrap{

    width: 200px;

    height: 30px;

    border: 1px solid #000;

    overflow: hidden;

    }

    .box{

    width: 400px;

    height: 30px;

    background: repeating-linear-gradient(30deg,green 0,green 10px,#fff 10px,#fff 20px);

    transition: 3s;

    }

    .wrap:hover .box{

    margin-left: -100px;

    }

    </style>

    //css end

    //html begin

    <div class="wrap">

    <div class="box"></div>

    </div>

    //html end

  • 相关阅读:
    二进制数组
    model模块
    Decorator [ˈdekəreɪtə(r)] 修饰器/装饰器 -- 装饰模式
    箭头函数
    async [ə'zɪŋk] 函数
    cocos2d-x 事件分发机制 ——触摸事件监听
    算法:高速排序
    [zlib]_[0基础]_[使用Zlib完整解压zip内容]
    设计模式之状态模式(State)摘录
    编写Web Serviceclient訪问www.webxml.com.cn提供的服务
  • 原文地址:https://www.cnblogs.com/zhuyuanyuan/p/7790186.html
Copyright © 2011-2022 走看看