I have the following snippet :
.container{
margin-left: 6%;
margin-right: 6%;
}
.wrapper{
flex-grow: 1;
border-left: 2px solid gray;
border-right: 2px solid gray;
border-bottom: 2px solid gray;
}
.svg_position{
background: blue;
width: 150px;
height: auto;
position: absolute;
right: 0;
}
.row{
display: flex;
}
.col {
flex: 1;
padding: 1em;
display:flex;
flex-direction:column;
}
div.box_header{
background-color: gray;
color: white;
display: flex;
}
@media (max-width: 991px) {
.row{
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
.col{
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
margin-right: 0;
}
}
<div class="container">
<div class="row">
<div class="col">
<div class="box_header">
<p>COL 1</p>
</div>
<div class="wrapper">
<ul>
<li>TEXT</li>
<li>TEXT</li>
<li>TEXT</li>
</ul>
</div>
</div>
<div class="col">
<div class="box_header">
<p>COL 2</p>
</div>
<div class="wrapper">
<ul>
<li>TEXT</li>
<li>TEXT</li>
</ul>
</div>
</div>
<div style="background: red;" class="col">
<div class="box_header">
<p>COL 3</p>
</div>
<div style="background: green" class="wrapper">
<div class="svg_position">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 142.753 58.5">
<path d="M142.753,35l-49,23.5v-47Z" fill="#811818" />
<path d="M142.753,35H.065l23.59-17.476L0,0H142.753Z" fill="#b51c1c" />
</svg>
</div>
<ul>
<li>TEXT</li>
<li>TEXT</li>
<li>TEXT</li>
<li>TEXT</li>
</ul>
</div>
</div>
</div>
</div>
I'm trying to glue the svg into the right border whatever the size of the box is.
Expected result :