How can I make this parallax work?

I have this: https://codepen.io/Lko3001/pen/MYWvweJ I set the perspective property on the .banner and a translateZ on the img, but why isn't it translating on the scroll? I want to do a parallax in pure css, I don't want to use JS
Lko
CodePen
Untitled
...
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?