AI 분석
알림 카드가 위로 떠오를 때 그림자를 함께 움직이는 방식과 바닥에 남겨 흐리는 방식을 나란히 비교한 모션 데모다.
흰 배경 중앙에 같은 알림 카드 두 개를 좌우로 놓고 각각 아래에 비교 라벨을, 하단 중앙에 재생 속도 표시 알약 배지를 둔다. 카드는 정보 아이콘, 굵은 제목과 회색 보조 문구, 파란 알약형 업그레이드 버튼으로 구성되며 얇은 테두리와 넓게 번지는 부드러운 그림자를 갖는다. 왼쪽 카드는 그림자가 카드와 함께 위로 사라지고, 오른쪽 카드는 카드가 떠오르는 동안 그림자가 바닥에 남아 가로로 좁아지며 옅어진다. 실제 속도와 슬로 모션을 번갈아 보여 주어 깊이감과 물리감을 만드는 그림자 처리 마이크로 인터랙션의 참고로 유용하다.
minimal · light-mode
claude-opus-5-5 · 2026-12-03 07:09 · 신뢰도 0.75
원본 트윗
Design Engineering Tip:
Separate the object from its shadow.
When an element lifts away from a surface, the shadow doesn't always need to move with it. Keeping the shadow grounded and fading it based on distance can create a stronger sense of depth and physicality.
Used carefully, this can make interfaces feel more tangible and less like layers floating on a screen. It's not something I'd apply everywhere, but for moments that need extra emphasis, it can be surprisingly effective.
js
const card = document.querySelector(".notification"); const shadow = document.querySelector(".shadow"); card.animate( [ { transform: "translateY(0)" }, { transform: "translateY(-160px)" }, ], { duration: 900, easing: "cubic-bezier(.64,0,.78,0)" } ); shadow.animate( [ { opacity: 0.5, transform: "scaleX(1)" }, { opacity: 0, transform: "scaleX(.35)" }, ], { duration: 700, easing: "ease-out" } );
좋아요 1,048 · 리트윗 36
x.com/gabriell_lab/status/2063591609392840984