I have to set the link Read More, Read less in a div. So, Today I am sharing jQuery Expanding Read More Link With CSS. Once the Text has been expanded, click the ‘Hide Text’ Button to hide it again. When all section expands then the read more text will replace by ‘read less‘ and on clicking it the section will collapse or decrease again. Reply. Reply; sachin_07 Member. Reply. Looking at the source it shows correctly: line one line two line three.
Live Demo. That would let it instantly expand down to the natural height of all contained paragraphs. Can you help me? Alright, back to jQuery tutorial after a long break. I have one possible request: is it possible to save /show the break lines (br) ?? Theoretically you could do this with CSS3 and :target, but that’s temporary and would cause page jump-downs. Thanks.