【CSS3】好玩的动画线框_html/css_WEB-ITnose
时间:2021-07-01 10:21:17
帮助过:15人阅读
Html代码
动画选框
Css代码
- .box{
- width:300px;
- height:100px;
- border:1px dotted #fff;
- border-image:url(data:image/gif;base64,R0lGODlhCAAIAJEAAP////8A/wAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgABACwAAAAACAAIAAACDwwuGckJzR4UaEp423InFAAh+QQFCgABACwAAAAACAAIAAACD4wEGcuMvR6cC4hpaU0nFAAh+QQJCgABACwAAAAACAAIAAACEAwiYhvd56KKaErqYDwnrQIAOw==) 1 repeat;
- }
示例:
http://codepen.io/puterjam/pen/gGLBj