图片上传样式 淡淡的烟草味﹌ 2022-01-12 03:51 181阅读 0赞 `<a href class='pic' title='继续上传'></a>` .pic{ display: inline-block; width: 76px; height: 76px; color:#ccc; border:2px dashed; position: relative; overflow: hidden; transition: all .25s; &::before,&::after{ content: ''; position:absolute; top: 50%; left: 50%; } &::before{ width: 20px; border-top:4px solid; margin: -2px 0 0 -10px; } &::after{ height: 20px; border-left:4px solid; margin: -10px 0 0 -2px; } &:hover{ color:skyblue } } 复制代码 效果图 转载于:https://juejin.im/post/5d0760a06fb9a07ef56236dd
还没有评论,来说两句吧...