在图像顶部添加数字标签 [英] Adding number label on top of an image

查看:21
本文介绍了在图像顶部添加数字标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑

我已经使用

我需要使用引导程序在图像上放置标签.

span.label{ width:100px; color:#FFFFFF; background-color:#F43B05; float:right; padding:3px; position:absolute; top:50px; left:5px; }

我有这张带有标签的图片:

And I've got this:

这是它的代码:

I have this image with a label:

但这不是我想要的.我想要的是在图像的顶部而不是在图像的侧面添加这个数字 4 绿色标签.

And here is the code for it:

我试过了:

But this is not what I want. What I want is to add this number 4 green label on top of the image and not on the side of it.

</span>

I tried this:

我有这个:

推荐答案

我相信这会是你的答案.谢谢

解决方案



这篇关于在图像顶部添加数字标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆