I want to show the next two list elements on the hyperlink(Load More) click.
Is there any way to achieve this in Jquery by changing the css properties.
.row{
display:none;
}
.row:nth-child(-n+3){
display:block;
}
<div class="content">
<ol>
<li class="notarow">I'm not a row and I must remain visible</li>
<li class="row">Row 1</li>
<li class="row">Row 2</li>
<li class="row">Row 3</li>
<li class="row">Row 4</li>
<li class="row">Row 5</li>
<li class="row">Row 6</li>
</ol>
</div>
<a href="#" class="load-more">Load more</a>