logo

Crowdly

Browser

Add to Chrome

Який елемент буде відображено поверх інших? <div class="a"></div> <div class...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Який елемент буде відображено поверх інших?

<div class="a"></div>

<div class="b"></div>

 

<style>

.a {

  position: absolute;

  z-index: 1;

  background: red;

  width: 100px; height: 100px;

}

.b {

  position: absolute;

  z-index: 2;

  background: blue;

  width: 100px; height: 100px;

  top: 50px; left: 50px;

}

   </style>

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome