<picture> <source media="(max-width: 768px)" srcset="path/to/img-small.png"> <source media="(min-width: 768px)" srcset="path/to/img-big.png"> </picture>
Not supported in IE though 🙁
http://html5hub.com/html5-picture-element/
The ramblings of a software developer
<picture> <source media="(max-width: 768px)" srcset="path/to/img-small.png"> <source media="(min-width: 768px)" srcset="path/to/img-big.png"> </picture>
Not supported in IE though 🙁
http://html5hub.com/html5-picture-element/