Để tạo nút Read More / Read Less cho các nội dung dài quá trong website ta dùng cách như sau
HTML
Nội dung cần ẩn hiện ta cần để trong các thẻ như sau
<i class=”dots”>…</i>
<span class=”more-content”>
Nội dung cần ẩn standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
</span>
<button class=”read-more”>Read More</button>