index.scss 836 B

12345678910111213141516171819202122232425262728293031323334
  1. .fl {
  2. display: flex;
  3. align-items: center;
  4. }
  5. .fl_b {
  6. display: flex;
  7. align-items: center;
  8. justify-content: space-between;
  9. }
  10. .fl_c {
  11. display: flex;
  12. align-items: center;
  13. justify-content: center;
  14. }
  15. .line1 {
  16. overflow: hidden; /*超出部分隐藏*/
  17. white-space: nowrap; /*禁止换行*/
  18. text-overflow: ellipsis; /*省略号*/
  19. }
  20. .line2 {
  21. display: -webkit-box; /* 必须结合的属性 ,将对象作为弹性伸缩盒子模型显示 。*/
  22. -webkit-box-orient: vertical; /* 必须结合的属性 ,设置或检索伸缩盒对象的子元素的排列方式 。*/
  23. text-overflow: ellipsis; /* 可以用来多行文本的情况下,用省略号“…”隐藏超出范围的文本 。*/
  24. -webkit-line-clamp: 2;
  25. overflow: hidden;
  26. }
  27. .line-through {
  28. text-decoration: line-through;
  29. color: #999999 !important;
  30. }