Fixing z-index issue on Safari browser
The z-index isn’t rendering properly on Safari – but it is working fine on Chrome and Firefox.
On Safari browser, the z-index seems to be ignored. You can’t figure out what the Safari specific bug would be.
Don’t worry! Here is the fix, add this to the content layer and it will magically fix itself.
1 2 3 4 | #element{ -webkit-transform: translate3d(0,0,0); z-index: 999; } |
Happy coding!