Need to place arrow between two city's names, please check the code.
html code <div style="display:inline-block;"> <div style="text-align:center;display:inline-block;"><span>Bengaluru</span><br><span class="text-muted">HSR Layout</span> <div class="arrow"> <div class="line"></div> <div class="point"></div> </div> <div style="text-align:center;display:inline-block;"><span>Hyderabad</span><br><span class="text-muted">Mehandipattanam</span> </div> </div> </div> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <!-- jQuery library --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <!-- Latest compiled JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> CSS CODE .arrow { width:214px; } .line { margin-top:5px; width:199px; background:blue; height:3px; float:left; } .point { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 8px solid transparent; border-left: 15px solid blue; float:right; }