I have created an ASP page in which I am displaying events. I have used css to display maximum 3 lines of content in one item template.
I want to display 3 periods after the text i.e. :
I searched over the internet and found solution to add periods after the text using .after{content:"..."}
but the dots are placed in new line but I want to get the exact output as it is in image.
My css is:
.eventDescription
{
height: 45px;
margin-left: 65px;
font-size: 15px;
line-height: 1.5em;
overflow: hidden;
text-align: justify;
line-height: 15px;
padding-top: 10px;
width: 220px;
}