Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to truncate html text

<html>
<head>
.passter{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    height:56px;
}
</head>
<body>
<h2 class="passter">Pls follow and help me by liking and etc.This is how to tuncate html text so be happy and try so yeah and check to tell me that it worked in comment</h2>
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: use font on website html 
Html :: how to add active class to current element javascript 
Html :: html writing shortcuts 
Html :: larger checkbox html 
Html :: set file allow html 
Html :: how to add underline in markdown 
Html :: bootstrap starter template 
Html :: how to add image in checkbox in html 
Html :: bootstrap cdn 
Html :: html script element 
Html :: ngfor display in html table 
Html :: bootstrap buttons Toggle states 
Html :: input type=number 01 
Html :: html player 
Html :: css stick div to bottom of page 
Html :: ion icon image 
Html :: sending email by html 
Html :: font awesome icons html 
Html :: how to use style in html 
Html :: Scrollable Text in HTML 
Html :: Adding a button to a Markdown 
Html :: username patterns 
Html :: select all text of input onclick 
Html :: bootstrap 4.5.3 
Html :: javascript wait for image to load 
Html :: filter vhtml vue 
Html :: the use of span tag 
Html :: tr , th , td , table 
Html :: boilerplate code in html 
Html :: how to stop moving text in html when you hover over it 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =