Full Height | Vertically Centered | Responsive Images
There are many ways to implement responsive images. Here I demonstrate the use of picturefill.js with FilmRoll to create a full screen carousel. Do the following:
<div> <span data-picture data-alt="Three bears"> <span data-src="small.jpg"></span> <span data-src="medium.jpg" data-media="(min-width: 400px)"></span> <span data-src="large.jpg" data-media="(min-width: 800px)"></span> </span> </div>
var film_roll = new FilmRoll({ container: '#film_roll', resize: false, });
.film_roll_pager { position: relative; top: -20px; }