คำสั่ง css ที่ใช้บังคับให้แสดงผลตามจำนวนบรรทัดที่กำหนดถ้าเกินจำนวนที่กำหนดจะเพิ่ม … ต่อท้ายให้ด้วย
ตัวอย่างโค้ด
overflow: hidden !important;
display: -webkit-box;
-webkit-box-orient: vertical !important;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
![](https://sp-ao.shortpixel.ai/client/to_auto,q_glossy,ret_img,w_736,h_198/https://beanthemes.todsorb.pro/wp-content/uploads/2021/11/Screen-Shot-2564-11-29-at-18.54.11.png)