Stack To Row
縦積み→横並び
Generation Prompt
【対象要素】 - 横に並んだ写真・カード3枚に適用する 【演出内容】 - 縦に積まれていた3枚が、横長の形から正方形に近い形へ変わりながら横一列に並び替わる - 形と位置を同時に変える 【品質要件】 - 形と位置の変化は同じ時間で終わらせる - 並び終わりで3枚の間隔を均等にする - prefers-reduced-motion 時は演出を無効化し、最初から完成した状態で表示する - 表示しきってから一拍(0.3秒程度)おいて次のループに入る - カードは半透明(不透明度0.7程度)にして、背後の要素や文字を潰さない
[Target] - Apply to a row of three photos or cards [Motion] - Three stacked rows reshape and rearrange into a horizontal row of cards [Quality] - Change shape and position over the same duration - End with even spacing between the three - When prefers-reduced-motion is set, disable the motion and show the finished state from the start - Let the motion finish completely, then pause for about 0.3s before the next loop - Keep the cards semi-transparent (around 0.7 opacity) so anything behind stays legible
Prompts and demo code are free to use in your own projects. See About.