Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

@dioramajs/media/expand

Exports of @dioramajs/media/expand.

View as Markdown
import { default } from '@dioramajs/media/expand'

Constants

defaultThe image of a card grows to the box of its sticky stage, usually the whole screen, while the section scrolls, and settles there; scrolling back folds it into the card. The copy poses its own layer: framed by object-fit at every size, above the copies around it, out of the card's clip.