p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; max-width: 100px; overflow: hidden; text-overflow: ellipsis; height:56px /* fallback */ } <p>Lorem ipsumnnnnnnnnnn dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et.</p>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)