logoalt Hacker News

apresmoiyesterday at 4:27 PM1 replyview on HN

wtf kind of magic is that? I looked at the repo and... you've built a 3d CSS rendering engine to create this?


Replies

pverheggenyesterday at 4:45 PM

There's some CSS properties specifically for doing 3D, yeah. You use perspective and perspective-origin to create the view frustum, and then CSS transforms to place your elements in 3D space.