Previous Message
Next Message

Why z-index does not work for transformed element?

Sent by Philippe Wittenbergh on 8 January 2012 06:06


On Jan 8, 2012, at 3:04 PM, Peng Yu wrote:

> So my code (without position:absolute) should work theoretically
> speaking. It is just that the feature hasn't been implemented in the
> browser. Is it the case?

It (your example) theoretically should work if you use a negative z-index or if your first div is
positioned and has a z-index higher than your transformed() div.

Webkit hasn't implemented it yet. I think Gecko nightly builds do support that (and maybe
Firefox.latest, I don't have any of those on this machine). No idea about others.

Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: