У меня есть CSS ::after
, который отображает изображение SVG.
Я бы хотел, чтобы мой контейнер отображал после этого изображения SVG.
Что происходит, так это то, что SVG "не занимает места", так сказать, и следующий DIV покрывается SVG.
спасибо за изучение этого.
.overpass-info-container::after {
content: " ";
position: absolute;
top: 100%;
left: 0;
height: 182px;
width: 100%;
background-color: white;
background: url("../images/curve.svg") bottom center;
background-size: 100%;
outline: 1px solid red;
}
/* finding container */
section.finding-container {
top: 180px;
display: flex;
position: absolute;
}
.find-agent {
margin-left: auto;
display: flex;
flex-flow: column;
}
.agent-profiles {
display: flex;
flex-flow: column;
}
<!-- ***** finding container ***** -->
<section class="finding-container">
<div class="find-agent">
<img src="./images/search.svg" alt="search">
</div>
<div class="agent-profiles">
<img src="./images/profiles.svg" alt="profiles">
</div>
</section>