0

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 .

Khalil Abbas
  • 110
  • 2
  • 7
  • 1
    the duplicate deals with filter but list all the properties that do the same (including perspective) and your only way is to make your element outside – Temani Afif Sep 07 '22 at 21:37

0 Answers0