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.
如何在没有插件的情况下在 jQuery 中剪辑图像?我想通过将所有图像放在一个图像中来创建一个 360 度图像旋转器,然后让 jQuery 导航到该主图像中正确的 X、Y 坐标,并在div.
div
通过 CSS 将大图像设置为您的固定大小 div 的背景,然后使用 jQuery 来操作 background-position 值。