고정된 트윗

Built a small web app over the weekend as I was needing a super simple way of framing screenshots.
device.fit
Still a few things I want to add, but figured it was worth sharing now.

English
Liam Forsyth
4.7K posts








CSS card parallax with pointermove + custom props 🧑🍳 <div class=ring style="--i: 2"> .ring { translate: calc(var(--px) * (var(--i) * -2rem)) calc(var(--py) * (var(--i) * 2rem)); } trick: pointer mapping to rotate card in 3D + translate rings 2D for the illusion 🤙 check it 👇