如何将小图片或图标放入大图片中?那也是有反应的。 我打算在我们的系统内制作平面图(大图像),当我悬停时,计算机(小图像/图标)会悬停一些东西。任何建议都会谢谢你:))
最佳答案
#background {
height: 50em;
width: 50em;
background-image: url("http://lorempixel.com/400/200");
}
img{
max-width: 100%;
}
<div id="background">
<h1>Some text and another image in my big image!</h1>
<img src="http://lorempixel.com/400/200" />
</div>
关于html - 如何在图像中放置图像或图标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46513416/