Untitled
Anonymous
Plain Text
10/28/2025 9:43 PM
286 B
11
Indexable
Never
createScope({
mediaQueries: {
portrait: '(orientation: portrait)',
}
})
.add(({ matches }) => {
const isPortrait = matches.portrait;
createTimeline().add('.circle', {
y: isPortrait ? 0 : [-50, 50, -50],
x: isPortrait ? [-50, 50, -50] : 0,
}, stagger(100));
});
Editor is loading...
Leave a Comment