Answer the question
In order to leave comments, you need to log in
How to overlap one block with another?
There is a structure:
<div>
<div class="a">Контент</div>
<div class="b">Блок, который затемняет его</div>
</div>
Answer the question
In order to leave comments, you need to log in
Set the big block to position relative.
Set the b block to absolute and set the height and width to 100% or top, right, bottom and left to 0.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question