react-lineto icon indicating copy to clipboard operation
react-lineto copied to clipboard

z-index with CSS/3D transform

Open truenorthcreative opened this issue 6 years ago • 2 comments

The z-index works great with flat HTML, but if something like this: transform: rotateX(60deg) rotateZ(-45deg) scale(1.2); is applied, the z-index seems to not work. Not sure if this is an issue or if there's a recommended approach.

Thanks in advance.

truenorthcreative avatar Apr 04 '19 20:04 truenorthcreative

I am experiencing the same issue as what truenorthcreative describes. Thanks !

Mathieu-DA avatar Jun 05 '19 08:06 Mathieu-DA

Same issue when using transform. Appears it isn't specific to this library:

https://stackoverflow.com/questions/20851452/z-index-is-canceled-by-setting-transformrotate

sam-hieken avatar Jun 05 '24 01:06 sam-hieken