From 248c985e3c2c3983426b67a397ff1e58672427c2 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 1 Dec 2015 10:43:26 -0500 Subject: initial commit --- .../2013-09-30_responsive-images-srcset.txt | 181 +++++++++++++++++++++ 1 file changed, 181 insertions(+) create mode 100644 src/old-no-longer-pub/2013-09-30_responsive-images-srcset.txt (limited to 'src/old-no-longer-pub/2013-09-30_responsive-images-srcset.txt') diff --git a/src/old-no-longer-pub/2013-09-30_responsive-images-srcset.txt b/src/old-no-longer-pub/2013-09-30_responsive-images-srcset.txt new file mode 100644 index 0000000..3b3e02b --- /dev/null +++ b/src/old-no-longer-pub/2013-09-30_responsive-images-srcset.txt @@ -0,0 +1,181 @@ +--- +title: Responsive Images & `srcset` +pub_date: 2013-09-30 20:08:57 +slug: /blog/2013/09/responsive-images-srcset +metadesc: A comprehensive overview of responsive images and the srcset attribute. Regularly updated to keep up with changing standards proposals. +code: True +tags: Responsive Images +--- + +[Note: This post is superseded by the fact that the picture element now exists. Picture supports srcset as well, so you can do everything I mention below, you just do it within ``. See my [complete guide to the picture element](https://longhandpixels.net/blog/2014/02/complete-guide-picture-element) for more details.] + +There are, in my experience, three pain points in any responsive design -- tabular data, advertising and images. The latter is the most interesting problem to me since it's not something you can design or engineer your way around. True, there are ways you can coerce today's browsers into doing roughly what you want -- serve large images to large screens and small ones to small screens -- but these are really hacks, sometimes very clever hacks, but still hacks. + +Nathan Ford has put together a nice [Responsive Images Mega-List][1] in an attempt to catalog all the ways you can handle images in a responsive site today. + +That's a great list of resources for handling images today, but what I've been obsessing over lately is the future, when we won't need all these workarounds. + +Just like we hacked video into the web using Flash and eventually got the `