倾斜卡片
卡片随鼠标位置轻微 3D 倾斜,立刻有了纵深感,适合展示类卡片;角度别超过 10 度,多了就晕。
3D 卡片悬停预览
实现提示词
Showcase cards with 3D tilt on hover: rotateX/rotateY up to 8 degrees following the cursor, smooth reset on leave.3D tilt cards (max 8°) with a glare highlight sweeping across on hover; spring back on mouse leave.设计规范条目
### 3D Tilt Card (#tilt-card) Category: Motion 3D tilt card: the card tilts subtly with mouse position for instant depth. Showcase cards love it—stay under 10 degrees. - Do: Showcase cards with 3D tilt on hover: rotateX/rotateY up to 8 degrees following the cursor, smooth reset on leave With motion: 3D tilt cards (max 8°) with a glare highlight sweeping across on hover; spring back on mouse leave. Live demo: https://uidesignmd.com/guides/tilt-card/