Cat Trees
A collection page of Erommy
About
Show More and Read Less Text .text-container { max-width: 1500px; margin: 20px; font-size: 12px; line-height: 1.6; } .text { display: -webkit-box; -webkit-line-clamp: 3; /* Show only 3 lines */ -webkit-box-orient: vertical; overflow: hidden; } .expanded { -webkit-line-clamp: unset; /* Remove line clamp when expanded */ } .toggle-btn { display: inline-block; margin-top: 10px; color: black; font-size: 14px; font-weight: bold; /* Make the buttons bold */ } Our cat trees come in many sizes, styles, and materials for your cats to climb, scratch, and relax indoors. Our designed festival cat trees, like the Christmas Cat Tree and the Gothic Style Cat Climbing Tower Tree, make your pet's play area more fun. Every product listing includes essential details such as size, material, and customer reviews, helping you choose the ideal cat tree based on your pet’s needs and the space available in your home. Show more Read less function toggleText() { const text = document.getElementById('text'); const showMoreBtn = document.getElementById('showMoreBtn'); const readLessBtn = document.getElementById('readLessBtn'); // Toggle between showing more or less text if (text.classList.contains('expanded')) { text.classList.remove('expanded'); showMoreBtn.style.display = 'inline'; readLessBtn.style.display = 'none'; } else { text.classList.add('expanded'); showMoreBtn.style.display = 'none'; readLessBtn.style.display = 'inline'; } }