접힌 영역이 고정된 가장자리에서 펼쳐지고 주변 항목이 새 공간만큼 밀려난다.A panel expands from a fixed edge while adjacent content moves aside.
상단을 고정한 패널이 높이 240px로 펴지고 아래 항목이 함께 밀린다
높이만 늘어나고 아래 항목이 겹친 채 남는다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 펼침 | 450ms | 300~650ms | 레이아웃 변경 시간 |
| 목표 높이 | 240px | 120~480px | 실제 scrollHeight로 교체 |
| 내용 지연 | 80ms | 40~120ms | 공간 확보 후 공개 |
| 이징 | power3.out | power2.out~power3.out | 감속 정착 |
const panel = document.querySelector('.panel');
const height = panel.scrollHeight;
gsap.set(panel,{height:0,overflow:'hidden'});
tl.to(panel,{height,duration:0.45,ease:'power3.out'},0);
tl.fromTo('.panel-content',{opacity:0},{opacity:1,duration:0.25},0.08);그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 아코디언 펼치기을 적용한다. 상단 앵커를 고정하고 측정 높이 240px까지 450ms 펼치며 내용은 80ms 늦게 공개한다. 초기 상태를 명시한 paused 타임라인으로 만들고 고정 좌표와 시간만 사용해 seek를 재현한다.
Apply Accordion Expansion to <target> in <file>. Anchor the top edge, expand to the measured 240px height in 450ms, and reveal the content after an 80ms delay. Define the initial state and use a paused timeline with fixed coordinates and timings for repeatable seeking.
<파일>에서 <대상>의 아코디언 펼치기 장면에 적용한다. 상단 앵커를 고정하고 측정 높이 240px까지 450ms 펼치며 내용은 80ms 늦게 공개한다. 0.11초·0.29초·0.65초 시점을 캡처해 시작 상태, 중간 관계, 최종 정착과 겹침 여부를 확인한다.
Implement Accordion Expansion in the scene for <target> in <file>. Anchor the top edge, expand to the measured 240px height in 450ms, and reveal the content after an 80ms delay. Capture at 0.11s, 0.29s, 0.65s to verify the initial state, intermediate relationships, final settling, and unwanted overlap.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo