Skip to content

Instantly share code, notes, and snippets.

@puterjam
Created January 22, 2014 12:28

Revisions

  1. puterjam created this gist Jan 22, 2014.
    1 change: 1 addition & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <div class="box">动画选框</div>
    6 changes: 6 additions & 0 deletions style.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    .box{
    width:300px;
    height:100px;
    border:1px solid transparent;
    border-image:url(data:image/gif;base64,R0lGODlhCAAIAJEAAP///wAAAP4BAgAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAACAAIAAACDQweqWuc4Ax0k9UoYQEAIfkEBQoAAgAsAAAAAAgACAAAAg2MgaYbwPcSc/EtREMBACH5BAUKAAIALAAAAAAIAAgAAAINDIJwh60No5zxVcNMKAA7) 1 round;
    }
    7 changes: 7 additions & 0 deletions 动画虚线框.markdown
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    动画虚线框
    -----
    通过gif动画实现的动画选框

    A [Pen](http://codepen.io/puterjam/pen/gGLBj) by [puterjam](http://codepen.io/puterjam) on [CodePen](http://codepen.io/).

    [License](http://codepen.io/puterjam/pen/gGLBj/license).