simpl.info CSS background image-set()

In your browser developer tools, change the emulated device pixel ratio and reload the page.

A browser that supports CSS image-set() will choose small.jpg or large.jpg, depending on the device pixel ratio.

Device pixel ratio:
Viewport width: px
Available screen width: px

View source on GitHub