[면접 문제 기록] z - index

763 단어 문제 기록css



    
    <style type="text/css">
       .A{
	   position: absolute;
	   width: 100px;
	   height: 100px;
	   background-color: red;
	   z-index: 1;
	   }
	   .B{
	   position: absolute;
	   width: 100px;
	   height: 100px;
	   background-color: blue;
	   z-index: 2;
	   }
	   .C{
	   position: absolute;
	   width: 100px;
	   height: 100px;
	   background-color: yellow;
	   z-index: 3;
	   }
    </style>


<div class="A">
	<div class="C"/>
</div>
<div class="B"/>


</code></pre> 
  <p>     B     ,  z-index       。</p> 
 </div> 
</div>
                            </div>
                        </div>

좋은 웹페이지 즐겨찾기