Puedo manejar mi problema con javascript pero quiero manejarlo con css.
Lo que quiero hacer es tener más texto después de tres puntos con CSS.
A continuación se muestra un fragmento de código de muestra similar a mi caso.
.container { width: 320px; } .container span { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .show-more { color: blue; } <div class="container"> <span>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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. It has survived not only five centuries, but also the leap into electronic </span> <a class="show-more">Show More</a> </div>