Hello, everyone!
I would like to know how I can cause multiple li's to be loaded only when the user clicks the "see more" button.
In the following example, I'd like you to see the first 2 lines when you access the page. To load the last 2 li's, you would need to click the "see more" button.
I'm referring to loading / optimizing page break time performance. That is, I do not just want to hide content with CSS.
<ul>
<li>
<a href="img/portfolio/1.jpg">
<img src="img/portfolio/1-thumbs.jpg">
</a>
</li>
<li>
<a href="img/portfolio/2.jpg">
<img src="img/portfolio/2-thumbs.jpg">
</a>
</li>
<div class="botao">Ver mais</div>
<li>
<a href="img/portfolio/3.jpg">
<img src="img/portfolio/3-thumbs.jpg">
</a>
</li>
<li>
<a href="img/portfolio/4.jpg">
<img src="img/portfolio/4-thumbs.jpg">
</a>
</li>
</ul>