css perspective is disabling all position:fixed elements

Viewed 19

I added a perspective: 4px; to body in CSS , and suddenly all fixed elements are now relative. I found out that fixed property doesn't work with perspective . so is there any way to override this ? I didn't find any working solution .

Here is my webpage I am working on , top navbar was fixed , and also a floating button for mobile devices , they were fixed and now are relative after adding perspective

khalil-store.herokuapp.com/khalilstore

I tried moving element out of that has perspective property but still not working , so it seems to be a more complicated issue .

0 Answers
Related