I am currently developing an application using angular and bootstrap, and I have a requirement to insert a link between two columns in the third row of iteration.
Here is what I have attempted so far:
Html:
<div class="container">
<div class="row">
<div class="col-6" *ngFor="let data of suggestions">
<div class="data-wrapper">
{{ data.id }}
<br>
{{ data.name }}
</div>
</div>
<span class="middle-text-link"> Click here to go to link </span>
</div>
</div>
Css:
.data-wrapper {
padding: 30px;
border: 1px solid #000;
}
.middle-text-link {
position: absolute;
top: 55%;
left: 25%;
background-color: red;
color: #fff;
padding: 15px;
}
Working Demo : https://stackblitz.com/edit/angular-bootstrap-4-starter-dr8t57
Although the above CSS properties were used to place the link text between columns, it lacks responsiveness.
I need assistance on how to create a responsive layout where a link text can be placed between two columns in the third row. Thank you!