Jxck 3/25/2016

画像最適化戦略 Picture 編

Read Original

この記事は、PNG/JPEG画像をDevice Pixel Ratio(DPR)や画面サイズに応じて最適化する方法について詳しく説明しています。<picture>要素とsrcset属性を使用して、Retinaディスプレイなどの高解像度端末向けに適切なサイズの画像を出し分ける実装手法を、メディアクエリとsizes属性を使った2つのアプローチで比較・解説しています。

画像最適化戦略 Picture 編

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
ServiceNow and Microsoft Copilot
Marius Sandbu 1 votes
2
The Learning Loop and LLMs
Martin Fowler 1 votes