.homeBanner { width: 100%; height: auto; max-height: 1440px; position: fixed; left: 0; top: 0; } .homeBanner .swiper-container { width: 100%; height: 100%; max-height: 1440px; } .homeBanner .swiper-container .p_img { width: 100%; height: 100%; max-height: 1440px; position: relative; } .homeBanner .swiper-container .p_img a{ width: 100%; height: 100%; display: block; } .homeBanner .swiper-container .p_img img { width: 100%; height: 100%; object-fit: cover; } .homeBanner .swiper-container .p_info { position: absolute; left: 14%; top: 55%; z-index: 100; width: 50%; } .homeBanner .swiper-container .p_info h1 { font-size: 60px; text-transform: uppercase; opacity: 0; transform: translate(0, 100px); transition: all 0.5s ease 0.5s; text-shadow: 0 0 6px rgba(0, 0, 0, 0.2); display:block; } .homeBanner .swiper-container .p_info h6 { font-size: 5rem; opacity: 0; transform: translate(0, 100px); transition: all 0.5s ease 0.7s; font-weight: bold; text-shadow: 0 0 6px rgba(0, 0, 0, 0.2); } .homeBanner .swiper-container .p_info p { font-size: 1.5rem; text-transform: uppercase; opacity: 0; transform: translate(0, 100px); transition: all 0.5s ease 1s; text-shadow: 0 0 6px rgba(0, 0, 0, 0.2); } .homeBanner .swiper-container .swiper-slide.swiper-slide-active .p_info:before { transform: translate(0, -50%); opacity: 0.3; } .homeBanner .swiper-container .swiper-slide.swiper-slide-active .p_info h1 { opacity: 1; transform: translate(0, 0); } .homeBanner .swiper-container .swiper-slide.swiper-slide-active .p_info h6 { opacity: 1; transform: translate(0, 0); } .homeBanner .swiper-container .swiper-slide.swiper-slide-active .p_info p { opacity: 1; transform: translate(0, 0); } .homeBanner .p_pagenation { position: absolute; left: 0; bottom: 60px; z-index: 6; width: 100%; display: flex; justify-content: center; } .homeBanner .p_pagenation span { background: #fff; width: 10px; height: 10px; margin: 0 5px; border-radius: 5px; transition: all 0.5s; opacity: 0.5; } .homeBanner .p_pagenation span.swiper-pagination-bullet-active { width: 40px; background: #fff; opacity: 1; } .homeBanner .js_editor_click { width: 80px; display: block; color: #fff; opacity: 0.5; text-align: center; transition: all 0.2s ease-in-out; } .homeBanner .js_editor_click:hover {opacity: 1;transition: all 0.2s ease-in-out;} .js_editor_click .ico {font-size:50px;} .homeBanner .js_editor_click:after { font-size: 20px; } .bar0 { position: absolute; right: -40%; top: 213px; transition: all 2s ease-in-out; opacity: 0; } .swiper-slide-active .bar0 { right: 20%; transition: all 2s ease-in-out; transition-delay: 1s; opacity: 1; } .bar0 h3 { color: #0E477C; font-size: 40px; font-weight: 600; } .bar0 h3 span { color: #57B8E2; font-size: 56px; display: block; font-weight: 600; } .bar0 a { margin-top: 30px; text-indent: 80px; background: url(https://omo-oss-image1.thefastimg.com//portal-saas/new2022122618385601162/cms/image/80fbeff1-9c43-4086-9327-b890c091788d.png) no-repeat left top; width: 178px; height: 43px; line-height: 43px; display: block; color: #0E477C; font-size: 14px; } .bar2 { position: absolute; left: -40%; top: 213px; transition: all 2s ease-in-out; opacity: 0; } .swiper-slide-active .bar2 { left: 30%; transition: all 2s ease-in-out; transition-delay: 1s; opacity: 1; } .bar1 { position: absolute; left: -40%; top: 213px; transition: all 2s ease-in-out; opacity: 0; } .swiper-slide-active .bar1 { left: 20%; transition: all 2s ease-in-out; transition-delay: 1s; opacity: 1; } @media screen and (max-width:768px) { .homeBanner .swiper-container .p_info h6 { font-size: 3rem; } .homeBanner .swiper-container .p_img { overflow: hidden; } .homeBanner .swiper-container .p_img img { transform: translate(0%, 0); width: 100%; } .homeBanner .js_editor_click { display: none; } .bar0 { position: absolute; right: -40%; top: 40px; transition: all 2s ease-in-out; opacity: 0; } .swiper-slide-active .bar0 { right: 20%; transition: all 2s ease-in-out; transition-delay: 1s; opacity: 1; } .bar0 h3 { color: #0E477C; font-size: 40px; font-weight: 600; } .bar0 h3 span { color: #57B8E2; font-size: 56px; display: block; font-weight: 600; } .bar0 a { margin-top: 30px; text-indent: 80px; background: url(https://omo-oss-image1.thefastimg.com//portal-saas/new2022122618385601162/cms/image/80fbeff1-9c43-4086-9327-b890c091788d.png) no-repeat left top; width: 178px; height: 43px; line-height: 43px; display: block; color: #0E477C; font-size: 14px; } .bar2 { position: absolute; left: -30%; top: 40px; transition: all 2s ease-in-out; opacity: 0; width: 30%; } .swiper-slide-active .bar2 { left: 30%; transition: all 2s ease-in-out; transition-delay: 1s; opacity: 1; } .bar2 img {width:100%;} .bar1 img {width:100%;} .bar1 { position: absolute; left: -40%; top: 40px; transition: all 2s ease-in-out; opacity: 0; width: 30%; } .swiper-slide-active .bar1 { left: 20%; transition: all 2s ease-in-out; transition-delay: 1s; opacity: 1; } .homeBanner .p_pagenation { position: absolute; left: 0; bottom: 10px; z-index: 6; width: 100%; display: flex; justify-content: center; } }