Do you try to make something like this ?
.testinomila-post{
position: relative;
width: 350px;
float: left;
text-align: center;
text-align: center;
margin-left: 60px;
margin: auto;
margin-left: 20px;
padding: 40px;
list-style: none;
}
.testinomila-post:before {
content : "";
position: absolute;
left : 0;
bottom : 0;
height : 100%;
width : 1; /* or 100px */
border-left: 1px solid magenta;
display: block;
box-sizing: border-box;
}
<div class="testinomila-post">
</div>
<div class="testinomila-post">
</div>
<div class="testinomila-post">
</div>
Just add position: relative
on your parent element and change border-left
, width
and add display: block
11
solved I want give 50% left border of my div