I'm trying to recreate this 3D animation in react-native. Everything is fine, but the problem is that react-native doesn't have transform-style: preserve-3d
. Is there any alternative/polyfill to this or how can I accomplish my goal without using this property?
Asked
Active
Viewed 1,194 times
5

Deepsy
- 3,769
- 7
- 39
- 71
-
Isn't the default behavior equivalent to preserve-3d? I've just tried it on iOS and if I have a child with a 3d transform inside a view with a 3d transform, both are shown with their 3d transform. – Jean Regisser Jun 16 '16 at 08:28
-
1@JeanRegisser Can you please provide a really simple css snippet? – Deepsy Jun 16 '16 at 20:54
-
I think the problem is actually the missing perspective property. – Deepsy Jun 16 '16 at 23:44
-
https://codepen.io/mirceageorgescu/pen/roblc @Deepsy – Yoel Oct 29 '19 at 12:28
-
https://davidwalsh.name/css-cube @Deepsy – Yoel Oct 29 '19 at 12:28
-
still, looking for solutions – Binit Chandra Jha Apr 12 '22 at 16:45