Did you think CSS anchors only work for small menus?
No, they can actually clone and fly full images across your screen.
This page uses zero JavaScript to create a smooth projection gallery.
#css #webdev #frontend
Did you think CSS anchors only work for small menus? No, they can actually clone and fly full images across your screen. This page uses zero JavaScript to create a smooth projection gallery. #css #webdev #frontend
0 vue
Publié le 11/09/2026 08:00
0:13
Did you think CSS anchors only work for small menus?
No, they can actually clone and fly full images across your screen.
This page uses zero JavaScript to create a smooth projection gallery.
#css #webdev #frontend
1. The small images are CSS anchors.
2. When you click, the CSS shows a duplicate image.
3. The copy moves and resizes to fill the big stage.
4. The small thumbnail stays visible at the same time.
Check out the full code and the live demo here:
codepen.io/editor/mysth...
Let me know in the replies!