Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Latest commit

 

History

History
9 lines (5 loc) · 802 Bytes

File metadata and controls

9 lines (5 loc) · 802 Bytes

responsive-fullscreen-header-example

An example of a header image that changes based on the device's orientation and always fits to fill the full screen.

It was developed for use in the February 2019 Los Angeles Times series, "Surrounded: Killings near school, and the students left behind.".

You can learn more about the CSS techniques used here by reading Mozilla's tutorials on responsive images and object-fit.

A working example is viewable at datadesk.github.io/responsive-fullscreen-header-example/.