首先是我要更改的代码。其次是我尝试过的,但是没有用。
非常感谢任何人都可以提供帮助。预先谢谢你。
<style>
h1::after {
content: url(sig01.png);
}
</style>
<style>
h1::after {
content: url(sig01.png);
display: inline-block;
width: 200px;
height: 200px;
}
</style>
您无法调整内容图像的大小,但是可以通过使用background-image
而不是content
来解决。