Z-Index help | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Z-Index help

#endRpsRequest { width: 250px; height: 250px; background-color: white; border-radius: 10px; z-index: 10; } This html Element has a z-index of 10, and it is still the bottom most layer. This is the only element with the ÔÇťZ indexÔÇŁ property. The full code is attached. To access the elementÔÇÖs visibility, click on the unnamed button in the start screen, select rock paper or scissors, and then click end game. The white square is the request to end the game. https://code.sololearn.com/Wka59zuKs8eu/?ref=app

3rd Aug 2021, 4:28 PM
<p id=ÔÇťusernameÔÇŁ>The Cuber</p>
<p id=ÔÇťusernameÔÇŁ>The Cuber</p> - avatar
2 Antworten
+ 1
In order to change the z-index position, you first need to determine the position for this element so that it goes out of the general flow. For example (position: absolute).
3rd Aug 2021, 8:11 PM
Solo
Solo - avatar