AnderssonPeter/CompressedStaticFiles

Add support for higher res images on devices that have a pixel density above 1

Opened this issue · 2 comments

Add support for higher res images on devices that have a pixel density above 1

This can be done using https://caniuse.com/client-hints-dpr-width-viewport but sadly its not yet supported by apple devices.

Use @2x to denote the file has 2 pixels per pixel