Re: [csswg-drafts] [css-position] 'front' & 'back' keywords for z-index

> Why not introduce explicitly named layers with their own at-rule then?
>     foo {z-index: bar;}
>     @layer bar {…}

Sounds like a good idea, though what is the at-rule expected to contain?

The idea of having `front` and `back` keywords is also something I thought about previously, though as Tab already pointed out, there may be cases where you'd then like to put something even more in the front.

Those keywords can easily be abused, e.g. by ads you integrate into your site and then you're not able to put anything else in front of them.

Also, how to handle multiple elements having set those values?


GitHub Notification of comment by SebastianZ
Please view or discuss this issue at using your GitHub account

Received on Monday, 2 July 2018 21:35:51 UTC