Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

133
Views
Stacking with z-index in Firefox

I'm using this great snippet to create a JS and CSS flip book: https://codepen.io/captain_anonym0us/pen/ybVbpv

It works great in Chrome 98 but acts differently in Firefox 97.0 (64-Bit).

Somehow an element with a z-index somewhere in the middle of all available z-indexes seems to be on top of it all.

<div class="pages">
  <div class="page" style="z-index: 29;"></div>
  <div class="page"></div>
  <div class="page" style="z-index: 27;"></div>
  ...
  <div class="page"></div>
  <div class="page" style="z-index: 15;"></div>
  <div class="page"></div>
  <div class="page" style="z-index: 13;"></div>
  <div class="page"></div>
  <div class="page" style="z-index: 11;"></div>
  <div class="page"></div>
  ...
  <div class="page"></div>
  <div class="page" style="z-index: 1;"></div>
</div>

In this example, the element with z-index 13 seems to be on top of it all in Firefox.

Is this a bug or is there something (additional) in the code missing?

Thanks in advance!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Found the problem.

There where CSS settings for .pages and .page for

transform-style: preserve-3d;
-webkit-transform-style: preserve-3d;

Removing that solved the problem.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!