adikahorvath
2/26/2014 - 8:04 AM

picture element

picture element

<picture alt="description of image">
  <source src="small.jpg">
  <!-- med-res -->
  <source src="medium.jpg" media="(min-width: 400px)">
  <!-- high-res -->
  <source src="large.jpg" media="(min-width: 800px)">
  <!-- Fallback content -->
  <img src="small.jpg" alt="description of image">
</picture>