index.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. .header1-page {
  2. width: 100%;
  3. height: 70px;
  4. padding: 0 30px;
  5. box-sizing: border-box;
  6. display: flex;
  7. justify-content: space-between;
  8. position: fixed;
  9. top: 0;
  10. left: 0;
  11. z-index: 9;
  12. }
  13. .header1-page.bg {
  14. background: rgba(0,0,0,0.7);
  15. }
  16. .header1-page .logo-img {
  17. width: 150px;
  18. height: 42px;
  19. margin-top: 19px;
  20. }
  21. .header1-page .menu {
  22. width: 393px;
  23. display: flex;
  24. justify-content: space-between;
  25. font-size: 18px;
  26. font-family: Gilroy, Gilroy-Bold;
  27. font-weight: 700;
  28. text-align: left;
  29. color: #ffffff;
  30. margin-top: 29px;
  31. }
  32. .header1-page .menu .item {
  33. height: 18px;
  34. position: relative;
  35. cursor: pointer;
  36. }
  37. .header1-page .menu .item:hover::after {
  38. width: 100%;
  39. }
  40. .header1-page .menu .item::after {
  41. transition: width 0.3s;
  42. transition-delay: 0.3s; /*避免短时间内,如果重复触发会导致闪烁闪烁*/
  43. content: '';
  44. position: absolute;
  45. left: 50%;
  46. transform: translateX(-50%);
  47. bottom: -17px;
  48. height: 4px;
  49. width: 0;
  50. background: #008cff;
  51. }
  52. .header1-page .menu .item:hover .expand2 {
  53. width: 608px;
  54. padding: 55px 60px;
  55. }
  56. .header1-page .menu .item .expand2 {
  57. overflow: hidden;
  58. transition: all 0.3s;
  59. transition-delay: 0.3s;
  60. width: 0;
  61. height: 261px;
  62. background: #ffffff;
  63. border-radius: 20px;
  64. position: absolute;
  65. left: 50%;
  66. transform: translateX(-50%);
  67. top: 35px;
  68. box-sizing: border-box;
  69. display: flex;
  70. justify-content: flex-start;
  71. align-items: center;
  72. flex-wrap: wrap;
  73. padding: 0;
  74. }
  75. .header1-page .menu .item .expand2-box {
  76. width: 50%;
  77. font-family: Gilroy, Gilroy-Medium;
  78. line-height: 36px;
  79. }
  80. .header1-page .menu .item .expand2-box-title {
  81. font-size: 18px;
  82. font-weight: 700;
  83. color: #333333;
  84. }
  85. .header1-page .menu .item .expand2-box-content {
  86. font-size: 14px;
  87. font-weight: 500;
  88. color: #999999;
  89. }
  90. .header1-page .lang-box {
  91. margin-top: 29px;
  92. }
  93. .header1-page .lang-box .lang1 {
  94. width: 31px;
  95. height: 22px;
  96. margin-right: 32px;
  97. vertical-align: middle;
  98. }
  99. .header1-page .lang-box .lang2 {
  100. width: 18px;
  101. height: 14px;
  102. vertical-align: middle;
  103. }
  104. /*移动端*/
  105. @media screen and (max-width: 960px) {
  106. .header1-page {
  107. height: 14vw;
  108. padding: 0 4vw;
  109. }
  110. .header1-page .logo-img {
  111. width: 26.8VW;
  112. height: 7.77vw;
  113. margin-top: 4vw;
  114. }
  115. .header1-page .lang-box {
  116. margin-top: 4vw;
  117. }
  118. .header1-page .lang-box .lang1{
  119. display: none;
  120. }
  121. .header1-page .menu{
  122. display: none;
  123. }
  124. }