gpt4 book ai didi

css - 无法定位第二个背景图像

转载 作者:太空宇宙 更新时间:2023-11-04 07:14:44 25 4
gpt4 key购买 nike

Trouble positioning second background image

body {
margin: 0;
padding: 0;
color: #666464;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: 12px;
line-height: 1.4em;

background-image: url( ../images/862a8380ba6984de1235023a8eef20e7.png), url(../images/green-heart-tree-PNG-thumb20.png);
background-position: top bottom, right top;
background-repeat: no-repeat, no-repeat;

不知为何,我根本无法定位绿心,为什么呢?我不明白。感谢你们的帮助。

最佳答案

您将第一张图片的位置指定为 topbottom,这搞砸了。

body {
margin: 0;
padding: 0;
color: #666464;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
font-size: 12px;
line-height: 1.4em;

background-image: url( ../images/862a8380ba6984de1235023a8eef20e7.png), url(../images/green-heart-tree-PNG-thumb20.png);
background-position: top left, right top;
background-repeat: no-repeat, no-repeat;
}

关于css - 无法定位第二个背景图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50820893/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com