How can i make it look like this
I want to make lines with arrow head in between the circles pointing to another circle on its right.
I’ve added the text inside of the circle and outside the circle but I’m unable to create arrows in between the circle
The best I could do can be seen below, also its not responsive.
.circle{
display: flex;
justify-content: center;
flex-wrap: nowrap;
align-items: flex-start;
text-align: center;
}
.arrow-line{
width: 300px;
height: 1px;
border: 1px #0070BA solid;
margin-top: 55px;
}
.arrow {
width: 10px;
border: solid #0070BA ;
border-width: 0 3px 3px 0;
display: inline-block;
padding: 5px;
margin-top: 50px;
}
.right {
transform: rotate(-45deg);
-webkit-transform: rotate(-45deg);
}
.circletext{
display: flex;
padding-top: 10px;
margin-top: 10px;
align-items: center;
flex-direction: column;
font-size: 25px;
font-weight: 800;
line-height: 29px;
letter-spacing: 0.03em;
text-align: left;
color: #595555;
}
.circle-1 {
background-color:#fff;
border:2px solid #0070BA;
height:69px;
width: 65px;;
border-radius:50%;
color: #0070BA;
text-align: center;
font-size: 25px;
line-height: 60px;
}
<div class="circle">
<div class="circletext">
<div class="circle-1">1</div>Planning
</div>
<div class="arrow-line"></div>
<p>
<i class="arrow right"></i>
</p>
<div class="circletext">
<div class="circle-1">2</div>Recruit
</div>
<div class="arrow-line"></div>
<p>
<i class="arrow right"></i>
</p>
<div class="circletext">
<div class="circle-1">3</div>Training and <br>Collaboration
</div>
<div class="arrow-line"></div>
<p>
<i class="arrow right"></i>
</p>
<div class="circletext">
<div class="circle-1">4</div>Support
</div>
</div>
2
Answers
It’s not perfect but some insights:
You deffinitely need to change markup, so that the arrows were dependant on the elements they are connecting/ Something like this