各位大佬,请问: 一张背景图,按钮是里面的一个元素,如何在不同机型不同分辨率下按钮都会出现背景图上面的固定位置? rem、百分比、px 都试过了好像都不行! body{ font-size: 18px; } .box{ height: 100vh; width: 100vw; background-image:url('/static/redCloud/images/buyerEvents.jpg'); background-repeat: no-repeat; background-position: center center; background-attachment: fixed; /* 让背景图基于容器大小伸缩 */ background-size: cover; position: relative; } .box .get_btn{ width: 7rem; position: absolute; right: 3rem; bottom: 19rem; } "image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241223/ec96d09bfabda56b36ba9850e291bdb3.png)"image.png" (https://wmprod.oss-cn-shanghai.aliyuncs.com/images/20241223/9905becbfa71ad6d9fab6249d67b5491.png)