videoList.css 661 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* 头部广告 */
  2. .advImg{
  3. background: url(../imgs/videoAdv.jpg) no-repeat center;
  4. background-size: cover;
  5. }
  6. .videoList{
  7. overflow: hidden;
  8. }
  9. .videoList >li{
  10. float: left;
  11. width: 340px;
  12. margin: 0 53px 30px 0;
  13. }
  14. .videoList >li:nth-child(3n+3) {
  15. margin-right:0;
  16. }
  17. .videoImg img{
  18. width: 341px;
  19. height: 245px;
  20. }
  21. .videoMsg{
  22. height: 50px;
  23. }
  24. .videoMsg h2{
  25. color: #262626;
  26. font-size: 16px;
  27. line-height: 34px;
  28. font-weight: 700;
  29. white-space: nowrap;
  30. overflow: hidden;
  31. text-overflow: ellipsis;
  32. }
  33. .videoMsg >div{
  34. width: 80%;
  35. overflow: hidden;
  36. white-space: nowrap;
  37. text-overflow: ellipsis;
  38. }