There is a container in which there is a flex container.
HTML
<div class="container">
<div class="content">
<div class="over">Over</div>
<div>Test</div>
<div>Test</div>
<div>Test</div>
</div>
</div>
CSS
.container {
background-color: yellow;
width: 500px;
}
.content {
display: flex;
}
.over {
background-color: rgba(255, 0, 0, 0.8);
}
Now it looks like this:
Can the over div somehow be placed over all other divs, and the width of the content should be?