Css enables restricted display of multiple lines of text, and css enables multi-line text
<! DOCTYPE html>
<Html>
<Head>
<Meta charset = "UTF-8">
<Meta name = "viewport" content = "width = device-width, initial-scale = 1, maximum-scale = 1, minimum-scale = 1, user-scalable = no, minimal-ui ">
<Meta name = "apple-mobile-web-app-capable" content = "yes">
<Meta name = "apple-mobile-web-app-status-bar-style" content = "black">
<Meta name = "format-detection" content = "telephone = no">
<Title> css enables restricted display of multiple lines of text </title>
<Style>
# Test {
Display: box;
Display:-webkit-box;
Box-orient: vertical;
-Webkit-box-orient: vertical;
Line-clamp: 2;
-Webkit-line-clamp: 2;
Overflow: hidden;
Text-overflow: ellipsis;
}
</Style>
</Head>
<Body>
<P id = "test"> multi-line text limit show multiple lines text limit display multi-line text limit display </p>
</Body>
</Html>