Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Show HN: Using 3D CSS transform to make a "live screenshot". Parent comment
It's hard! :)
Though I found a generic formula, apparently I need to work on it!
Thanks
EDIT:
fixed the perspective attribute to follow screen width
one open issue is that for some 4:3 resolutions, the sizes are wrong (the background stop resizing for some ratios)
still needs some work. but the real thing will be to find the generic formula for any background, and any location on the screen...
There are no comments on this comment yet.
It's hard! :)
Though I found a generic formula, apparently I need to work on it!
Thanks
EDIT:
fixed the perspective attribute to follow screen width
one open issue is that for some 4:3 resolutions, the sizes are wrong (the background stop resizing for some ratios)
still needs some work. but the real thing will be to find the generic formula for any background, and any location on the screen...