Live data from Hacker News

3D in CSS

garden.bradwoods.io

1–10 of 99 posts

Re: 3D in CSS

#2
This lorem ipsum works so-so on Safari. The text can be selected and it only rotates after selecting and deselecting it

Re: 3D in CSS

#3
I forget the name of the effect, but it's the one where the background may have images that move at different rates as the page scroll increases.

Over the years I've seen many, many terrible implementations of that effect with JavaScript.

The correct and highly performant way to do that is using perspective. It's an effect that can be done entirely in css.

Re: 3D in CSS

#4
post #2

This lorem ipsum works so-so on Safari. The text can be selected and it only rotates after selecting and deselecting it

I'm always having problems with Safari, there is a background-blend-mode on the site that doesn't work on it either, so the site doesn't look like it should.

Re: 3D in CSS

#5
post #3

I forget the name of the effect, but it's the one where the background may have images that move at different rates as the page scroll increases. Over the years I've seen many, many terrible implementations of that effect with JavaScript. The correct and highly performant way to do that is using perspective. It's an effect that can be done entirely in css.

Parallax?

Re: 3D in CSS

#6
post #3

I forget the name of the effect, but it's the one where the background may have images that move at different rates as the page scroll increases. Over the years I've seen many, many terrible implementations of that effect with JavaScript. The correct and highly performant way to do that is using perspective. It's an effect that can be done entirely in css.

I think you mean parallax scroll?

Re: 3D in CSS

#10
post #2

This lorem ipsum works so-so on Safari. The text can be selected and it only rotates after selecting and deselecting it

Can't manage to drag the small corner on Firefox for Android. Might be a bug, or just because it's too small to hit.

Edit: looking at the code above it, it uses onmousedown which doesn't work for touch I guess.

Post reply on HN