books.wxss 542 B

12345678910111213141516171819202122232425262728293031
  1. .allBooks {
  2. /* margin-top: 44rpx; */
  3. display: flex;
  4. flex-direction: row;
  5. flex-wrap: wrap;
  6. }
  7. .book{
  8. width: 214rpx;
  9. display: flex;
  10. text-align: center;
  11. flex-direction: column;
  12. margin-left: 28rpx;
  13. margin-top:44rpx;
  14. }
  15. .book image{
  16. display: block;
  17. width: 214rpx;
  18. height: 290rpx;
  19. }
  20. .book text{
  21. margin-top: 20rpx;
  22. width: 214rpx;
  23. height: 38rpx;
  24. font-size: 30rpx;
  25. color:#393939;
  26. font-weight: 400;
  27. text-overflow: ellipsis;
  28. overflow: hidden;
  29. white-space: nowrap;
  30. }