Collection: Clover
<style>
.truncate-container {
width:300px;
}
.read-additional {
color: blue;
text-decoration: underline;
}
.read-additional:hover {
cursor: pointer;
}
#product-description {
display: none;
}
</style>
<div class="truncate-container">
<div id="truncated-product-description">
Clover's history dates all the way back to 1925 founded by Mr. Toshio Okada at the age of 26 and quality has always been at the forefront of our company's core.. <span id="read-more" class="read-additional">Read more</span></p>
</div>
<div id="product-description">
<p>
Clover's history dates all the way back to 1925 founded by Mr. Toshio Okada at the age of 26 and quality has always been at the forefront of our company's core.
</p>
<p>
Our name originated when a young Toshio Okada while attending college would study in the park and use clovers to bookmark his pages. When Mr. Okada founded the company he remembered the hard work and dedication it took to succeed in his studies and all the clovers stuck between the pages of his books that accompanied him through his journey.
<p>
In 1948 Clover officially became the brand. Clover began as a wholesale company of needles and handicraft accessories. Soon after, Clover became a manufacturing company, with the use of machinery designed to capture the vision of the engineers to create the wonderful tools we know and love today.
<span id="read-less" class="read-additional">Read less</span></p>
</div>
</div>
<script>
let read_more = document.getElementById('read-more')
let read_less = document.getElementById('read-less');
let truncated_description = document.getElementById('truncated-product-description');
let full_description = document.getElementById('product-description');
read_more.addEventListener('click', showHideDescription)
read_less.addEventListener('click', showHideDescription)
function showHideDescription(){
let ID = this.id
if(ID === "read-more"){
truncated_description.style.display = "none";
full_description.style.display = "block";
}else {
truncated_description.style.display = "block";
full_description.style.display = "none";
}
}
</script>