img & srcset
img & srcset
性能优化
<img class="fn tj s t u fa ai ht" width="3700" height="1247"
srcset="https://miro.medium.com/max/552/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 276w, https://miro.medium.com/max/1104/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 552w, https://miro.medium.com/max/1280/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 640w, https://miro.medium.com/max/1456/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 728w, https://miro.medium.com/max/1632/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 816w, https://miro.medium.com/max/1808/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 904w, https://miro.medium.com/max/1984/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 992w, https://miro.medium.com/max/2160/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 1080w, https://miro.medium.com/max/2700/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 1350w, https://miro.medium.com/max/3240/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 1620w, https://miro.medium.com/max/3780/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 1890w, https://miro.medium.com/max/4320/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 2160w, https://miro.medium.com/max/4800/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg 2400w"
sizes="100vw" role="presentation"
src="https://miro.medium.com/max/7400/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg">
https://miro.medium.com/max/7400/1*MGCeXSPnm5E3OBtH-4z9vw.jpeg
blur image => big image
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/13081574.html
未经授权禁止转载,违者必究!