Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是新来的,也是编码方面的新手。我希望将背景附件放置在一个非常确定的位置顶部,左上角,右上角等不会完成这项工作,我想要一个最准确的位置,例如。附件左上角要放置100200
如果你想完成它,CSS那就去做吧
CSS
div { background-image:url('your-img-url'); background-repeat:no-repeat; background-position:100px 200px; background-attachment:fixed; }