index.css 726 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* 页面级css */
  2. .nav{
  3. height: 35px;
  4. background: #EEEEEE ;
  5. }
  6. .nav-center{
  7. width: 1199px;
  8. height: 35px;
  9. /* background: #f00; */
  10. margin:0 auto;
  11. line-height: 35px;
  12. }
  13. .nav-left{
  14. float: left;
  15. }
  16. .nav-right{
  17. float: right;
  18. }
  19. .nav-center a{
  20. color: #888888 ;
  21. }
  22. .welcome{
  23. margin-right:20px;
  24. }
  25. .nav .active{
  26. color: #6F26BD;
  27. }
  28. .nav-center span{
  29. color: #888888 ;
  30. }
  31. #header{
  32. width: 1199px;
  33. margin:0 auto;
  34. height: 151px;
  35. background: red;
  36. }
  37. .logo-box,.search-box,.cart-box{
  38. float: left;
  39. }
  40. .logo-box img{
  41. margin-top:44px;
  42. }
  43. .search-box{
  44. width: 536px;
  45. background: #6F26BD ;
  46. margin-top:43px;
  47. margin-left:123px;
  48. }
  49. .cart-box{
  50. margin:56px 0 0 52px;
  51. }