Answer the question
In order to leave comments, you need to log in
How can I set the position so that when hovering over, block starts from the edge of the parent element, but overlaps the next element?
So, we have 12 buttons, 4 pieces are displayed on my screen.
Everyone has exactly the same code (excl. - names):
.name
{
position:static;
width:auto;
height:100px;
background-color:#F1AE0B;
}
.block
{
position:absolute;
width:auto;
height:auto;
left:0;
top:0;
right:0;
background:rgba(255,255,255, 0.75);
display:none;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question