/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
To get layers overlapping each other you need to use the z-index command. Add z-index: 1 in with the positioning code and this element will appear above everything without this command. If you want something else to go over this layer too, add z-index: 2 and so on. The higher the index, the closer the div will appear to the front of the page.