Is it possible to combine :first-of-type and :after on the same class? For example:
.feature.feature--featured:first-of-type:after {
content: '';
position: absolute;
bottom: 0;
width: 100%;
height: 4px;
background: #4a90e2;
left: 0;
}
<div class="row">
<div class="col-md-4">
<div class="feature feature--featured feature-1 boxed boxed--border bg--white">
<h5>This is a title</h5>
<p>
21 July, 2019
</p>
<a href="#">
Read Story
</a>
<span class="label">New</span>
</div>
</div>
<div class="col-md-4">
<div class="feature feature--featured feature-1 boxed boxed--border bg--white">
<h5>This is a title</h5>
<p>
21 July, 2019
</p>
<a href="#">
Read Story
</a>
<span class="label">New</span>
</div>
</div>
<div class="col-md-4">
<div class="feature feature--featured feature-1 boxed boxed--border bg--white">
<h5>This is a title</h5>
<p>
21 July, 2019
</p>
<a href="#">
Read Story
</a>
<span class="label">New</span>
</div>
</div>
</div>
Can't get it working. Thanks!