CSS ordering issues with absolute positioning in Firefox

I see some inconsistencies with the order property between Firefox and others, but I'm not sure if this is correct.

Basically, I have a page that uses the checkbox hack to open and close the page menu without JS. This means that it’s very important that they are included directly above the element I am switching.

I also have a sidebar, which is located at the bottom of the page for small devices, and on the left for larger ones, so I turn on the sidebar after the content of the page (in my html) and the order: # setting with the request environment.

In another message about elements that are not removed from the normal stream, the order property is proposed.

Firefox seems to still completely ignore the order property as soon as an element with absolute positioning is entered. My thought is that setting these absolutely positioned elements in a lower order (for example: order: -3; ) or something at least lower than other items should do the trick. But not at FF.

enter image description here

Sample code (works in Chrome, not in FF)

+1
firefox flexbox css3 order
source share

No one has answered this question yet.

See similar questions:

17
Absolutely positioned flex element is not removed from normal flow in IE11
8
How does an order property work on absolutely positioned children of a flexible container?

or similar:

553
In Flexbox CSS, why are there no justify-items and justify-self properties?
524
Targeting Firefox only with CSS
257
Maintaining End State at the End of CSS3 Animations
fifteen
CSS - “position: fixed” acting as “absolute” in Firefox
6
How to position an absolutely div in a flexible box without affecting the position of your siblings?
2
Absolute positioning hindering flexbox positioning in Firefox
one
Are children of “flexible” children “positioned” so that they can be used to absolutely position their children?
one
Absolutely Positioned Grandchildren of Flex Container - Problems with Firefox and MS
0
Flexbox CSS Error with Firefox
0
Positioning with Position: Absolute in Firefox

All Articles