CSS 限制內容字數寬度或行數,超過顯示刪節號...

PHOTO EMBED

Wed Sep 01 2021 01:56:54 GMT+0000 (UTC)

Saved by @chillymood

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 479px;
content_copyCOPY

https://hoohoo.top/blog/css-limits-content-word-width-or-number-of-rows-more-than-the-display-shing/