Skip to content

Instantly share code, notes, and snippets.

View dabblet.css
.box{
position:relative;background-color:#f1f1f1;
width:300px;height:300px;
margin:80px auto;z-index:3;}
.box:before{
content:'';position:absolute;
left:0;top:0;bottom:0;right:0;
border:2px solid red;margin:-20px;z-index:-1;
clip:rect(0,100px,50px,10px);
animation:lineA 8s linear infinite;}