#dans_mon_flux :

The Value of z-index | CSS-Tricks
🔗 https://css-tricks.com/the-value-of-z-index/

How we look at the stacking order of our projects, how we choose z-index values, and more importantly, the implications of those choices.

👉 https://shaarli.lerebooteux.fr

#zindex #css #layout #stack

The Value of z-index | CSS-Tricks

How we look at the stacking order of our projects, how we choose z-index values, and more importantly, the implications of those choices.

CSS-Tricks
Containers & Context – Frontend Masters Blog

If you've applied `container` to an element, know that, for the next little while, that makes a new

applying a flexible #CSS z-index stack fixed a lot of messy legacy layering issues for me. There might be better ways, but this is very readable when applied, some examples:

.is-sticky {
position: sticky;
z-index: var(--above-page-z);
}

.notification {
z-index: var(--alert-z);
}

#UI #CssVariables #zindex

A few things I learned while writing the #css #zindex chapter:

- Don't mention the bloody z-axis. It only gives the poor student one more useless concept to grasp.

- We need a property that says: "I am NOT a stacking context". Sort-of the opposite of isolation: isolate.
isolation: PLEASE-NO-DONT?

- Using the word 'preposterous' in a z-index context is fine. It's desirable, in fact.

- I should give readers tips for finding wayward stacking contexts, but I don't have any.

Writing an example of #css #zindex and stacking items/contexts convinced me that the whole system is ridiculously complicated and should be revised significantly - except that that would break backward compatibility, so it won't actually happen.

📷 CSS Infinite Slider Flipping Through Polaroid Images
by @challengescss at @css
#carousel #css #animation #images #slider #zindex #webdev

https://css-tricks.com/css-infinite-slider-flipping-through-polaroid-images/

CSS Infinite Slider Flipping Through Polaroid Images | CSS-Tricks

In the last article, we made a pretty cool little slider (or "carousel" if that’s what you prefer) that rotates in a circular direction. This time we are

CSS-Tricks

Nice Short article about an approach to use ‚z-index‘ correctly:

https://www.smashingmagazine.com/2019/04/z-index-component-based-web-application/

#web #css #zindex

Managing Z-Index In A Component-Based Web Application — Smashing Magazine

The `z-index` property, despite all that’s written about it, is still widely misunderstood and mishandled. Stacking issues in a complex single-page web application can become a major pain. Adhering to some principles, however, we can easily avoid these issues.