📜  截断文本 css 代码示例

📅  最后修改于: 2022-03-11 14:47:38.292000             🧑  作者: Mango

代码示例4
.element{

  text-overflow: ellipsis;

  /* Required for text-overflow to do anything */
  white-space: nowrap;
  overflow: hidden;
}