rmr-billboard is a simple JavaScript & CSS library to resize a node to fill (either a portion or all of) the browser’s viewport (and add a chevron that, when clicked, will scroll the browser to the billboard’s next sibling).
const board = new Billboard({ /* theme: 'dark' */ });
Scrolling to the node’s sibling can also be accomplished programmatically via the scroll
method on the Billboard
object:
board.scroll();
(The fancy image pre-loading on this page is handled by rmr-backdrop.)