!
!
!
!
!
!
srcset: set of sources with w (width)
or x (resolution) descriptors.
small.jpg (320 x 240 px)
medium.jpg (640 x 480 px)
CAUTION: srcset can be defined with w (width) or x (resolution)
descriptors but not both. They do not mix.
src: fallback img if srcset is not supported.
http://www.smashingmagazine.com/2014/05/14/responsive-images-done-right-guide-picture-srcset/
!
!
!
!
TIP: Prefer picture element for art-directed and type-
switching use cases.
Use Case: art direction
Load art-directed (cropped) images when below 36ems
!
!
! If the browser doesn’t find a compatible
source type it will fallback to the img
Use Case: type-switching