대상이 위로 떠오를수록 그림자가 넓어지고 옅어져 떠 있는 높이가 드러나는 표현As an object rises off the surface, its shadow widens and fades, revealing how high it floats.
카드가 600ms에 24px 떠오르며 그림자 blur가 4px에서 24px로 넓어지고 opacity는 0.3에서 0.15로 옅어진다
카드는 뜨는데 그림자가 그대로라 붙어 보이거나, 그림자가 오히려 진해져 무겁게 느껴진다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 시간 | 0.6s | 0.3~0.9s | 상승 |
| 높이 | 24px | 8~40px | translateY 음수 |
| 그림자 blur | 4→24px | 2~40px | 높이에 비례 |
| 그림자 opacity | 0.3→0.15 | 0.1~0.35 | 높이와 반비례 |
| 이징 | power2.out | power1~power3 |
tl.fromTo('.card',
{ y: 0, boxShadow: '0 2px 4px rgba(0,0,0,0.30)' },
{ y: -24, boxShadow: '0 12px 24px rgba(0,0,0,0.15)', duration: 0.6, ease: 'power2.out' }, 0.4);그대로 붙여 넣는다Paste as is
GSAP으로 <카드>가 0.4초부터 0.6초 동안 위로 24px 떠오르는 동안 그림자를 넓히고 옅게 해줘. boxShadow를 0 2px 4px rgba(0,0,0,0.30)에서 0 12px 24px rgba(0,0,0,0.15)로 fromTo, 이징 power2.out. 그림자 offset은 높이의 절반, 그림자가 진해지지 않게 하고 paused 타임라인으로 만들어.
Use GSAP to lift <card> 24px starting at 0.4 seconds over 0.6 seconds while widening and lightening its shadow. Tween boxShadow with fromTo from 0 2px 4px rgba(0,0,0,0.30) to 0 12px 24px rgba(0,0,0,0.15), ease power2.out. The shadow must not get darker. One paused timeline.
<파일>의 카드에 shadow-elevation을 적용해. fromTo로 y 0→-24, boxShadow '0 2px 4px rgba(0,0,0,0.30)'→'0 12px 24px rgba(0,0,0,0.15)'를 position 0.4, duration 0.6, ease power2.out으로 건다. 0.3초는 붙어 있고, 0.7초는 중간, 1.2초는 y -24와 넓고 옅은 그림자인지 캡처로 확인해.
Apply shadow-elevation to the card in <file>. fromTo y 0 to -24 and boxShadow '0 2px 4px rgba(0,0,0,0.30)' to '0 12px 24px rgba(0,0,0,0.15)' at position 0.4, duration 0.6, ease power2.out. Capture 0.3s (resting), 0.7s (midway) and 1.2s (y -24 with a wide, faint shadow).
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo