How to draw this diagonal line between these two div's ABC and XYZ
<div class="row">
<div class="abc">abc</div>
<div class="xys">xyz</div>
</div>
Take a look here: How to make a line through a div.
Another way you could do it is by making another div and use positioning and rotation like this:
#div-with-line {
background-color: #eee;
width: 200px;
height: 200px;
}
#line {
width: 280px;
background-color: #ddd;
height: 3px;
transform: rotate(45deg);
position: relative;
right: 39px;
top: 99px;
}
<div id="div-with-line">
<div id="line"></div>
</div>
It makes a line through the div, but you have to change the positioning every time you change the width or the height of the box.