With Safari 9.1, you can use the HTML picture element to provide the browser with multiple image versions to support various browser configurations. It does this by evaluating each picture’s image resources in the order they are provided and displays the first image resource with conforming media attributes for the browser’s user agent and device specs. See all of the details here.