Web design: z-index: one way to superpose content

The tutor shows a way to place content over other content.

To put content on top of other content, the z-index style parameter can be used. If two elements are set at the same absolute position, the one with the higher z-index will display in front.

In the demo here, How are you? has z-index 3, while Hello;) has z-index 1.

Source:

w3schools

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply