You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.1 KiB

3 years ago
  1. /* 列表页的秒杀模块 */
  2. /* 解决盒子自动上去的问题 */
  3. .nav{
  4. overflow: hidden;
  5. }
  6. .sk{
  7. position: absolute;
  8. left: 190px;
  9. top: 40px;
  10. border-left: 1px solid #c81523;
  11. padding: 3px 0 0 14px;
  12. }
  13. .sk_list{
  14. float: left;
  15. }
  16. .sk_list ul li{
  17. float: left;
  18. }
  19. .sk_list ul li a{
  20. display: block;
  21. font-size: 16px;
  22. font-weight: 700;
  23. color: #000;
  24. line-height: 47px;
  25. padding: 0 30px;
  26. }
  27. .sk_con{
  28. float: left;
  29. }
  30. .sk_con ul li{
  31. float: left;
  32. }
  33. .sk_con ul li a{
  34. display: block;
  35. font-size: 14px;
  36. /* color: #000; */
  37. line-height: 49px;
  38. padding: 0 20px;
  39. }
  40. .sk_con ul li:last-child a::after{
  41. content: "\e91e";
  42. font-family: "icomoon";
  43. }
  44. .sk_bd ul li{
  45. float: left;
  46. overflow: hidden;
  47. width: 290px;
  48. height: 460px;
  49. /* Li原先就有1像素的边框,所以为了避免鼠标经过图片上去,把这个边框写成透明颜色 */
  50. border: 1px solid transparent;
  51. margin-right: 12px;
  52. }
  53. .sk_bd ul li:nth-child(4n){
  54. margin-right: 0;
  55. }
  56. .sk_bd ul li:hover{
  57. border: 1px solid #c81523;
  58. }