Create a gist now

Instantly share code, notes, and snippets.

Mobify.js responsive <picture> example with accessible descriptive text.
<picture data-src="">
<source src="//">
<source src="//" media="(min-width: 512px)">
<source src="//" media="(min-width: 1024px)" data-width="512">
<source src="//" media="(min-width: 2048px)" data-width="1024">
<img src="responsive-obama.jpg">
<p>A photograph of United States President Barack Obama shaking hands.</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment