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

  • 相关阅读:
    js 产生随机数
    基于bootstrap的multiple-select下拉控件使用
    jqgrid 单列排序和组合排序
    jqgrid 配置行号及行号的宽度
    jqgrid 配置分页大小及下拉项
    jqgrid 滚动分页
    jqgrid 宽度自适应
    jqgrid 行选中multiboxonly属性说明
    jqgrid 谈谈给表格设置列头事件、行事件、内容事件
    jqgrid 加入右键菜单按钮管理
  • 原文地址:https://www.cnblogs.com/zhuyuanyuan/p/7790186.html
Copyright © 2011-2022 走看看