Please refer to the codes below :
<ul>
<li style="height:100px; overflow:hidden;">
<div style="height:500px; background-color:black;">
</div>
</li>
</ul>
From the codes above, we know that we can only see 100px height of black background. My question is how can we see 500px height of <div>
black background? In other words, how can I make the <div>
appear in front of <li>
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…