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

  • 相关阅读:
    http_build_query(array) 中文乱码问题
    蒙层
    git删除本地和线上分支
    小程序Storage记录用户身份
    PHPExcel Allowed memory size of 内存泄漏解决办法
    抽奖帮助类
    linux查询并删除文件
    微信公众号H5,分享朋友,分享朋友圈处理
    mysql备份数据方式
    shell监控文件变化
  • 原文地址:https://www.cnblogs.com/zhuyuanyuan/p/7790186.html
Copyright © 2011-2022 走看看