【发布时间】:2021-02-05 12:11:22
【问题描述】:
我有两张高度为 512 像素,宽度为 512 像素的图片。无论加号大于关机按钮。
HTML:
<div class="logout">
<a href="someLink">
<img name="logout" alt="logout" src="red_shutdown.png">
</a>
</div>
<div class="plus-symbol">
<img name="plus" alt="create-post" src="plus-symbol.png">
</div>
CSS:
div.logout {
position: fixed;
bottom: 10%;
right: 1.32%;
border: 0;
}
div.plus-symbol {
position: fixed;
bottom: 10%;
right: 1.32%;
border: 0;
}
【问题讨论】:
标签: html css image-scaling