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.
在响应式网站上确定将哪些图像资产提供给移动设备和桌面设备的最佳做法是什么?期望的结果是为桌面用户提供大的高分辨率图像,为移动用户提供较小的图像。
上次我研究这个的方法是这样,我认为这仍然是解决问题的好方法。
当然,您的解决方案可能会有所不同,但始终牢记渐进增强(首先加载更大的图像是没有意义的)。