.rentyacht-image-container {
display: flex;
flex-direction: column;
}
.rentyacht-p {
position: absolute;
top: 0;
left: 0;
padding-left: 183px;
width: 282px;
height: 132px;
color: var(--main-white-cl);
font-family: DM Sans;
font-size: 60px;
font-style: normal;
font-weight: 500;
line-height: 66px;
letter-spacing: -2.7px;
margin-bottom: 64px;
}
<div class="rentyacht-image-container">
<p class="rentyacht-p">
Rent a<br />
yacht now
</p>
<img src="./rentiii/[email protected]" alt="" />
</div>
我需要图像定位方面的帮助,我真的很难理解这个主题,但我需要练习,如果有人帮助我真的很高兴