Specifying sizes for the <picture> element

Note: this sample uses the picturefill polyfill to provide backwards compatibility for browsers that do not support the <picture> element.

a lighthouse

The image should always be 50% of the viewport width and show at the correct pixel density.