 <p>To answer your question, for a pure css solution the answer would be no it is not possible.</p> <p>You could though serve the images from a server and use a scripting language like PHP to get the device information of the user and then serve the appropriate image based on that using PHP function header.</p>