Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Responsive Images!
You have completed Responsive Images!
Preview
To make sure these new pieces of HTML work in old browsers as well as current browsers, we can include a piece of JavaScript known as a polyfill. In this case, we'll be using a polyfill called picturefill.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
If a device has a large display with a 1x
pixel density, or
0:00
if it's a small mobile screen with double
pixel density we can use these elements
0:04
to more carefully craft the experience,
rather than wasting bandwidth or
0:10
delivering images that are too low
resolution.
0:15
To make sure these new pieces of HTML work
in old browsers as well as current
0:19
browsers we can include a piece of
JavaScript known as a polyfill.
0:24
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up