📜  如何添加截断代码 - CSS 代码示例

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

代码示例1
.element{

  text-overflow: ellipsis;

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