//两行超出隐藏
.overhide {
  display: -webkit-box !important;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
//一行超出隐藏
.overhideline1 {
  display: -webkit-box !important;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

相关文章:

  • 2021-12-18
  • 2022-01-07
  • 2022-01-19
  • 2021-07-18
  • 2021-12-06
  • 2021-12-27
  • 2022-01-04
  • 2022-12-23
猜你喜欢
  • 2022-02-20
  • 2022-12-23
  • 2021-12-04
  • 2022-02-01
  • 2021-12-25
  • 2022-12-23
  • 2021-11-28
相关资源
相似解决方案