index.less 726 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. .desc {
  11. color: #686872;
  12. font-size: 16px;
  13. margin-bottom: 20px;
  14. overflow: hidden;
  15. }
  16. .icon {
  17. position: absolute;
  18. bottom: -18px;
  19. left: 50%;
  20. transform: translateX(-50%);
  21. display: none;
  22. }
  23. }
  24. .other-answer.more.hide {
  25. .desc {
  26. height: 80px;
  27. background: linear-gradient(360deg, rgba(161, 161, 171, 0) 0%, rgba(104, 104, 114, 1) 100%);
  28. -webkit-background-clip: text;
  29. -webkit-text-fill-color: transparent;
  30. }
  31. }
  32. .other-answer.more:hover {
  33. .icon {
  34. display: block;
  35. }
  36. }