index.less 915 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. @import '../../app.less';
  2. .other-answer {
  3. border-bottom: 1px solid rgba(239, 243, 247, 1);
  4. position: relative;
  5. .title {
  6. color: #303036;
  7. font-size: 16px;
  8. margin-bottom: 10px;
  9. }
  10. .small-tag {
  11. display: inline-block;
  12. background: rgb(172, 206, 251);
  13. padding: 0 5px;
  14. border-radius: 5px;
  15. color: #fff;
  16. margin-bottom: 5px;
  17. font-size: 10px;
  18. }
  19. .desc {
  20. color: #686872;
  21. font-size: 16px;
  22. margin-bottom: 20px;
  23. overflow: hidden;
  24. }
  25. .icon {
  26. position: absolute;
  27. bottom: -18px;
  28. left: 50%;
  29. transform: translateX(-50%);
  30. display: none;
  31. }
  32. }
  33. .other-answer.more.hide {
  34. .desc {
  35. height: 80px;
  36. background: linear-gradient(360deg, rgba(161, 161, 171, 0) 0%, rgba(104, 104, 114, 1) 100%);
  37. -webkit-background-clip: text;
  38. -webkit-text-fill-color: transparent;
  39. }
  40. }
  41. .other-answer.more:hover {
  42. .icon {
  43. display: block;
  44. }
  45. }