Show Different Variations of Images Depending on the Viewport Width using Art Direction

Rory Smith
InstructorRory Smith

Share this video with your friends

Send Tweet

For small viewports, we may want to show a variation of the desktop image. A very common use case of this is a cropped, smaller version of the desktop image. In this lesson, we are going to discuss showing a cropped version of the desktop image, but only for smaller viewports.