Heart

小标识图标

电脑版发表于:2019/11/22 14:31


做一个小标识图标,结构如下



首先,span标签的宽高要设为一样的,再把border-radics属性设为50%就刚好是一个小圆啦!

圆圈背景颜色以及字体颜色根据个人喜欢来设置,

再设置一下margin-top属性,就可以把小图标移动到图片的右上方啦!OK,这样就搞定啦。。。。



效果如下




关于TNBLOG
TNBLOG,技术分享。技术交流:群号677373950
ICP备案 :渝ICP备18016597号-1
App store Android
精彩评论
{{item.replyName}}
{{item.content}}
{{item.time}}
{{subpj.replyName}}
@{{subpj.beReplyName}}{{subpj.content}}
{{subpj.time}}
猜你喜欢