Keep aspect ratio image CSS?

Here is a good code for having your images to keep their aspect ratio, very useful for optimizing your website for mobile devices.

47470eedfc1962f9cce00c6e93fa6b8d023

All the ...