css3 - css: z-index works unexpectably -
When you move the mouse cursor over the camera cursor, I get a picture of lunch. I span in which the image is Z-index is 1000, tables have z-index 1, but the images are shown below the table. Please can you help me? What's going wrong?
All your tables have z-index 1, so they are at the same level and determine the source order Which tables will be found on top of the other if they ever overlap.
You can have a better z-index in pictures, but they are included in your table.
Z-indexes are not global, they are applied to a "stacking context" every time you create an element (and some other CSS properties, like opacity or in your case) in a z - If the pointer adds, this element makes it a stacking reference for its children.
Comments
Post a Comment