Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Challenge: Control Z-Index and Overlapping Element | Mastering CSS Positioning
Advanced CSS Techniques

bookChallenge: Control Z-Index and Overlapping Element

Task

Create a visually appealing background for the website using an illustration composed of 5 different images. All images are correctly positioned within the frame of the parent div element. Your task is to adjust the stacking order using the z-index property to achieve the desired view outlined in the image below:

index.html

index.html

index.css

index.css

copy

To change the stacking order of the images within the parent div element, use the z-index property. A higher z-index value, such as 1, raises the element above others in the stacking context, making it visible in the foreground.

index.html

index.html

index.css

index.css

copy

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 11

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Awesome!

Completion rate improved to 2.04

bookChallenge: Control Z-Index and Overlapping Element

Sveip for å vise menyen

Task

Create a visually appealing background for the website using an illustration composed of 5 different images. All images are correctly positioned within the frame of the parent div element. Your task is to adjust the stacking order using the z-index property to achieve the desired view outlined in the image below:

index.html

index.html

index.css

index.css

copy

To change the stacking order of the images within the parent div element, use the z-index property. A higher z-index value, such as 1, raises the element above others in the stacking context, making it visible in the foreground.

index.html

index.html

index.css

index.css

copy

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 2. Kapittel 11
some-alt