body { background: #fff; color: #444; font-family: "Open Sans", sans-serif; } a { color: #00b1e4; transition: 0.5s; } a:hover, a:active, a:focus { color: #51d8af; outline: none; text-decoration: none; } p { padding: 0; margin: 0 0 30px 0; } h1, h2, h3, h4, h5, h6 { font-family: "Montserrat", sans-serif; font-weight: 400; margin: 0 0 20px 0; padding: 0; } /* Back to top button */ .back-to-top { position: fixed; display: none; background: #00b1e4; color: #fff; padding: 6px 12px 9px 12px; font-size: 16px; border-radius: 2px; right: 15px; bottom: 15px; transition: background 0.5s; } @media (max-width: 768px) { .back-to-top { bottom: 15px; } } .back-to-top:focus { background: #00b1e4; color: #fff; outline: none; } .back-to-top:hover { background: #0c2e8a; color: #fff; } /*-------------------------------------------------------------- # Top Bar --------------------------------------------------------------*/ #topbar { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; background: #071e33; } #topbar .contact-info a { line-height: 1; color: #acacac; } #topbar .contact-info a:hover { color: #00b1e4; } #topbar .contact-info i { color: #00b1e4; padding: 4px 4px 0 0; } .contact-info.float-left { color: #acacac; } #topbar .contact-info .fa-phone { padding-left: 20px; margin-left: 20px; border-left: 1px solid #e9e9e947; } #topbar .social-links a { color: #00b1e4; padding: 4px 12px; display: inline-block; line-height: 1px; border-left: 1px solid #e9e9e924; } #topbar .social-links a:hover { color: #fff; } #topbar .social-links a:first-child { border-left: 0; } /*-------------------------------------------------------------- # Header --------------------------------------------------------------*/ #header { padding: 20px 0; height: 84px; transition: all 0.5s; z-index: 997; background: #fff; box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06); } #header #logo h1 { font-size: 28px; margin: 6px 0 0 0; padding: 0; line-height: 1; font-family: "Montserrat", sans-serif; font-weight: 700; } #header #logo h1 a { color: #071e33; line-height: 1; display: inline-block; color: #00b1e4; } #header #logo h1 a span { color: #071e33; } #header #logo img { padding: 0; margin: 0; } @media (max-width: 768px) { #header { padding: 20px 0; height: 74px; } #header #logo h1 { font-size: 34px; } #header #logo img { max-height: 40px; } } /*-------------------------------------------------------------- # Intro Section --------------------------------------------------------------*/ #intro { width: 100%; height: 70vh; position: relative; background-size: cover; } #intro .intro-content { position: absolute; bottom: 0; top: 0; left: 14%; right: 0; z-index: 10; display: flex; justify-content: center; flex-direction: column; text-align: left; } #intro .intro-content h2 { color: #3a3a3a; margin-bottom: 30px; font-size: 24px; font-weight: normal; text-align: left; } #intro .intro-content h2 span { color: #071e33; text-align: right; font-size: 66px; text-transform: uppercase; font-weight: 700; } @media (max-width: 767px) { #intro .intro-content h2 { font-size: 22px; background: #ffffffa3; padding: 15px; } } #intro .intro-content .btn-get-started, #intro .intro-content .btn-projects { font-family: "Raleway", sans-serif; font-size: 15px; font-weight: bold; letter-spacing: 1px; display: inline-block; padding: 10px 32px; border-radius: 2px; transition: 0.5s; margin: 0; color: #fff; } #intro .intro-content .btn-get-started { background: #00b1e4; border: 2px solid #00b1e4; } #intro .intro-content .btn-get-started:hover { background: none; color: #00b1e4; } #intro .intro-content .btn-projects { background: #00b1e4; border: 2px solid #00b1e4; } #intro .intro-content .btn-projects:hover { background: none; color: #00b1e4; } #intro #intro-carousel { z-index: 8; } #intro #intro-carousel::before { content: ''; background-color: rgba(255, 255, 255, 0.7); position: absolute; height: 100%; width: 100%; top: 0; right: 0; left: 0; bottom: 0; z-index: 7; } #intro #intro-carousel .item { width: 100%; height: 60vh; background-size: cover; background-position: center; -webkit-transition-property: opacity; transition-property: opacity; } /*-------------------------------------------------------------- # Navigation Menu --------------------------------------------------------------*/ /* Nav Menu Essentials */ .nav-menu, .nav-menu * { margin: 0; padding: 0; list-style: none; } .nav-menu ul { position: absolute; display: none; top: 100%; left: 0; z-index: 99; } .nav-menu li { position: relative; white-space: nowrap; } .nav-menu > li { float: left; } .nav-menu li:hover > ul, .nav-menu li.sfHover > ul { display: block; } .nav-menu ul ul { top: 0; left: 100%; } .nav-menu ul li { min-width: 180px; } /* Nav Menu Arrows */ .sf-arrows .sf-with-ul { padding-right: 22px; } .sf-arrows .sf-with-ul:after { content: "\f107"; position: absolute; right: 8px; font-family: FontAwesome; font-style: normal; font-weight: normal; } .sf-arrows ul .sf-with-ul:after { content: "\f105"; } /* Nav Meu Container */ #nav-menu-container { float: right; margin: 0; } @media (max-width: 768px) { #nav-menu-container { display: none; } } /* Nav Meu Styling */ .nav-menu a { padding: 10px 8px; text-decoration: none; display: inline-block; color: #555; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 14px; outline: none; } .nav-menu li:hover > a, .nav-menu > .menu-active > a { color: #00b1e4; } .nav-menu > li { margin-left: 10px; } .nav-menu ul { margin: 4px 0 0 0; padding: 10px; box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); background: #fff; } .nav-menu ul li { transition: 0.3s; } .nav-menu ul li a { padding: 10px; color: #333; transition: 0.3s; display: block; font-size: 13px; text-transform: none; } .nav-menu ul li:hover > a { color: #00b1e4; } .nav-menu ul ul { margin: 0; } /* Mobile Nav Toggle */ #mobile-nav-toggle { position: fixed; right: 0; top: 0; z-index: 999; margin: 20px 20px 0 0; border: 0; background: none; font-size: 24px; display: none; transition: all 0.4s; outline: none; cursor: pointer; } #mobile-nav-toggle i { color: #555; } @media (max-width: 768px) { #mobile-nav-toggle { display: inline; } } /* Mobile Nav Styling */ #mobile-nav { position: fixed; top: 0; padding-top: 18px; bottom: 0; z-index: 998; left: -260px; width: 260px; overflow-y: auto; transition: 0.4s; background: #00b1e4; } #mobile-nav ul { padding: 0; margin: 0; list-style: none; } #mobile-nav ul li { position: relative; } #mobile-nav ul li a { color: #fffc; font-size: 16px; overflow: hidden; padding: 10px 22px 10px 15px; position: relative; text-decoration: none; width: 100%; display: block; outline: none; } #mobile-nav ul li a:hover { color: #fff; } #mobile-nav ul li li { padding-left: 30px; } #mobile-nav ul .menu-has-children i { position: absolute; right: 0; z-index: 99; padding: 15px; cursor: pointer; color: #fff; } #mobile-nav ul .menu-has-children i.fa-chevron-up { color: #00b1e4; } #mobile-nav ul .menu-item-active { color: #00b1e4; } #mobile-body-overly { width: 100%; height: 100%; z-index: 997; top: 0; left: 0; position: fixed; background: rgba(13, 13, 13, 0.9); display: none; } /* Mobile Nav body classes */ body.mobile-nav-active { overflow: hidden; } body.mobile-nav-active #mobile-nav { left: 0; } body.mobile-nav-active #mobile-nav-toggle { color: #fff; } /*------------------------------------------------- Inner Banner ---------------------------------------------------*/ #innerBanner { background: linear-gradient(45deg, #00b1e4 -132%, #0c2e8a 100%); padding: 40px 0; text-align: center; background: #00b1e4; } #innerBanner h2 { color: #fff; text-align: center; font-weight: normal; font-size: 18px; margin: 0px; } #innerBanner h2 span { color: #fff; font-weight: bold; font-size: 38px; text-align: center; } .svgImg { } .svgImg img { width: 120px; } /*-------------------------------------------------------------- # Sections --------------------------------------------------------------*/ /* Sections Header --------------------------------*/ .section-header { margin-bottom: 30px; } .section-header h2 { font-size: 32px; color: #071e33; text-transform: uppercase; font-weight: 700; position: relative; padding-bottom: 20px; /* display: inline-block; */ text-align: center; } .section-header h2::before { content: ''; position: absolute; display: block; width: 62px; height: 3px; bottom: 0; left: 0; border-top: #00b1e4 solid 2px; right: 0; text-align: center; margin: 0 auto; } .section-header p { padding: 0; margin: 0; text-align: center; color: #333; } /* About Section --------------------------------*/ #about { padding: 60px 0 60px 0; } #about .about-img { overflow: hidden; } #about .about-img img { margin-left: -15px; max-width: 100%; } @media (max-width: 768px) { #about .about-img { height: auto; } #about .about-img img { margin-left: 0; padding-bottom: 30px; } } #about .content h2 { color: #000000; font-weight: 700; font-size: 18px; font-family: "Raleway", sans-serif; } #about .content h3 { color: #555; font-weight: 300; font-size: 18px; line-height: 26px; font-style: italic; } #about .content p { line-height: 26px; } #about .content p:last-child { margin-bottom: 0; } #about .content i { font-size: 20px; padding-right: 4px; color: #00b1e4; } #about .content ul { list-style: none; padding: 0; } #about .content ul li { padding-bottom: 10px; } /* Services Section --------------------------------*/ #services { padding: 60px 0 0 0; } #services .box { padding: 40px; margin-bottom: 40px; background: #fff; transition: 0.4s; border: 1px solid #dedede; } #services .box:hover { box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15); transform: translateY(-10px); -webkit-transform: translateY(-10px); -moz-transform: translateY(-10px); } #services .box .icon { display: block; width: 100%; text-align: center; padding: 15px; } #services .box .icon i { color: #444; font-size: 44px; transition: 0.5s; line-height: 0; margin-top: 0px; } #services .box .icon i:before { background: #00b1e4; background-clip: border-box; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } #services .box h4 { margin-left: 100px; font-weight: 700; margin-bottom: 24px; font-size: 22px; display: block; width: 100%; text-align: center; float: left; margin: 0; } #services .box h4 a { color: #444; } #services .box p { font-size: 14px; line-height: 24px; text-align: center; display: block; margin: 0; padding-top: 15px; } @media (max-width: 767px) { #services .box .box { margin-bottom: 20px; } #services .box .icon { float: none; text-align: center; padding-bottom: 15px; } #services .box h4, #services .box p { margin-left: 0; text-align: center; } } /* product Section --------------------------------*/ #product { padding: 60px 0 0 0; } #product .box { padding: 40px; margin-bottom: 40px; background: #fff; transition: 0.4s; border: 1px solid #dedede; } #product .box:hover { box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15); transform: translateY(-10px); -webkit-transform: translateY(-10px); -moz-transform: translateY(-10px); } #product .box .icon { display: block; width: 100%; text-align: center; padding: 15px; } #product .box .icon i { color: #444; font-size: 44px; transition: 0.5s; line-height: 0; margin-top: 0px; } #product .box .icon i:before { background: #00b1e4; background-clip: border-box; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } #product .box h4 { margin-left: 100px; font-weight: 700; margin-bottom: 24px; font-size: 22px; display: block; width: 100%; text-align: center; float: left; margin: 0; } #product .box h4 a { color: #444; } #product .box p { font-size: 14px; line-height: 24px; text-align: center; display: block; margin: 0; padding-top: 15px; } @media (max-width: 767px) { #product .box .box { margin-bottom: 20px; } #product .box .icon { float: none; text-align: center; padding-bottom: 15px; } #product .box h4, #product .box p { margin-left: 0; text-align: center; } } /* Clients Section --------------------------------*/ #clients { padding: 60px 0; } #clients img { max-width: 100%; opacity: 0.5; transition: 0.3s; padding: 15px 0; } #clients img:hover { opacity: 1; } #clients .owl-nav, #clients .owl-dots { margin-top: 5px; text-align: center; } #clients .owl-dot { display: inline-block; margin: 0 5px; width: 12px; height: 12px; border-radius: 50%; background-color: #ddd; } #clients .owl-dot.active { background-color: #00b1e4; } /* Our Portfolio Section --------------------------------*/ #portfolio { padding: 90px 50px; color: #ffffff9c; background: #fff; } #portfolio .portfolio-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; opacity: 1; -webkit-transition: all ease-in-out 0.4s; transition: all ease-in-out 0.4s; } #portfolio .portfolio-item { overflow: hidden; position: relative; padding: 0; vertical-align: middle; text-align: center; } #portfolio .portfolio-item h2 { color: #ffffff; font-size: 16px; margin: 0; text-transform: capitalize; font-weight: 700; background: #00000085; border: 1px solid #fff; padding: 25px; /* background: linear-gradient(45deg, #00b1e457 0%, #405ece91 100%); */ } #portfolio .portfolio-item h2 { opacity: 0; } #portfolio .portfolio-item:hover h2 { opacity: 1; } #portfolio .portfolio-item img { -webkit-transition: all ease-in-out 0.4s; transition: all ease-in-out 0.4s; width: 100%; } #portfolio .portfolio-item:hover img { -webkit-transform: scale(1.1); transform: scale(1.1); } #portfolio .portfolio-item:hover .portfolio-overlay { opacity: 1; background: rgba(0, 0, 0, 0.7); } #portfolio .portfolio-info { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } /* Testimonials Section --------------------------------*/ #testimonials { padding: 60px 0; } #testimonials .testimonial-item { box-sizing: content-box; padding: 30px 30px 0 30px; margin: 30px 15px; text-align: center; min-height: 250px; /* box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08); */ } @media (max-width: 767px) { #testimonials .testimonial-item { margin: 30px 10px; } } #testimonials .testimonial-item .testimonial-img { width: 90px; border-radius: 50%; border: 4px solid #fff; margin: 0 auto; } #testimonials .testimonial-item h3 { font-size: 18px; font-weight: bold; margin: 10px 0 5px 0; color: #111; } #testimonials .testimonial-item h4 { font-size: 14px; color: #999; margin: 0; } #testimonials .testimonial-item .quote-sign-left { margin-top: -15px; padding-right: 10px; display: inline-block; width: 37px; } #testimonials .testimonial-item .quote-sign-right { margin-bottom: -15px; padding-left: 10px; display: inline-block; max-width: 100%; width: 37px; } #testimonials .testimonial-item p { font-style: italic; margin: 0 auto 15px auto; background: #f1f1f1; width: 100%; border: 1px solid #dcdcdc; border-radius: 15px 15px 0 15px; padding: 22px 15px; font-size: 15px; color: #686868; } #testimonials .owl-nav, #testimonials .owl-dots { margin-top: 5px; text-align: center; } #testimonials .owl-dot { display: inline-block; margin: 0 5px; width: 12px; height: 12px; border-radius: 50%; background-color: #ddd; } #testimonials .owl-dot.active { background-color: #00b1e4; } .map { margin: 80px auto 40px; } p.help-block, p.help-block ul { float: left; margin: 0; padding: 0; } p.help-block li { float: left; margin: 10px 0 0 0; padding: 0; list-style: none; color: red; } /* Call To Action Section --------------------------------*/ #call-to-action { background: #00b1e4; background-size: cover; padding: 40px 0; } #call-to-action .cta-title { color: #fff; font-size: 28px; font-weight: 700; } #call-to-action .cta-text { color: #fff; } @media (min-width: 769px) { #call-to-action .cta-btn-container { display: flex; align-items: center; justify-content: flex-end; } } #call-to-action .cta-btn { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; display: inline-block; padding: 8px 26px; border-radius: 3px; transition: 0.5s; margin: 10px; border: 3px solid #fff; color: #fff; } #call-to-action .cta-btn:hover { background: #ffffff; border: 3px solid #ffffff; color: #00a3d1; } /* Our Team Section --------------------------------*/ #team { background: #fff; padding: 60px 0 0 0; } #team .member { text-align: center; margin-bottom: 20px; } #team .member .pic { overflow: hidden; text-align: center; } #team .member .pic img { max-width: 100%; padding: 20px 20px 0; } #team .member .details { background: #fff; color: #071e33; padding: 15px 0; border-radius: 0 0 3px 3px; } #team .member h4 { font-weight: 700; margin-bottom: 2px; font-size: 18px; } #team .member span { font-style: italic; display: block; font-size: 13px; } #team .member .social { margin-top: 5px; padding: 6px; text-align: center; } #team .member .social a { color: #00b1e4; margin: 2px 6px; /* border: 1px solid #00b1e4; */ width: 42px; display: inline-block; /* opacity: .4; */ background: #eaeaea; padding: 4px; } #team .member .social a:hover { color: #081e5b; margin: 2px 6px; border: 1px solid #081e5b; opacity: 1; } #team .member .social i { font-size: 16px; margin: 0 2px; } /* Contact Section --------------------------------*/ #contact { padding: 60px 0; } #contact .contact-info { margin-bottom: 20px; text-align: center; } #contact .contact-info i { font-size: 24px; display: inline-block; margin-bottom: 0; color: #00b1e4; float: left; } #contact .contact-info address, #contact .contact-info p { margin-bottom: 0; color: #000; display: block; float: left; width: 100%; margin-bottom: 15px; padding: 0; margin-top: 0; margin-left: 27px; font-size: 14px; } #contact .contact-info h3 { font-size: 16px; margin-bottom: 15px; font-weight: bold; text-transform: uppercase; color: #1c4450; float: left; margin: 8px 15px; } #contact .contact-info a { color: #000; } #contact .contact-info a:hover { color: #00b1e4; } #contact .contact-address, #contact .contact-phone, #contact .contact-email { margin-bottom: 20px; } @media (min-width: 768px) { #contact .contact-address, #contact .contact-phone, #contact .contact-email { padding: 0; text-align: left; } } @media (min-width: 768px) { #contact .contact-phone { } } #contact #google-map { height: 290px; margin-bottom: 20px; } @media (max-width: 576px) { #contact #google-map { margin-top: 20px; } } #contact .form #sendmessage { color: #00b1e4; border: 1px solid #00b1e4; display: none; text-align: center; padding: 15px; font-weight: 600; margin-bottom: 15px; } #contact .form #errormessage { color: red; display: none; border: 1px solid red; text-align: center; padding: 15px; font-weight: 600; margin-bottom: 15px; } #contact .form #sendmessage.show, #contact .form #errormessage.show, #contact .form .show { display: block; } #contact .form .validation { color: red; display: none; margin: 0 0 20px; font-weight: 400; font-size: 13px; } #contact .form input, #contact .form textarea { padding: 10px 14px; border-radius: 0; box-shadow: none; font-size: 15px; } #contact .form button[type="submit"] { background: #00b1e4; border: 0; border-radius: 3px; padding: 10px 30px; color: #fff; transition: 0.4s; cursor: pointer; } #contact .form button[type="submit"]:hover { background: #0299c4; } /*-------------------------------------------------------------- # Footer --------------------------------------------------------------*/ #footer { background: #071e33; padding: 0 0 30px 0; font-size: 14px; color: #fff; } #footer .copyright { text-align: center; padding-top: 30px; color: #ffffffad; } #footer .credits { text-align: center; font-size: 13px; color: #ffffff85; margin-top: 8px; } #footer .credits a { color: #00b1e4; } .owl-carousel .owl-item img { display: block; width: auto; height: 70px; margin: 0 auto; } #carousel-img-height { height: 400px; object-fit: cover; /* 保持图片宽高比并填充容器 */ } .carousel-container { position: relative; /* 使得绝对定位的子元素参照此元素定位 */ } .float-buttons { display: flex; /* 使用Flexbox布局 */ justify-content: center; /* 水平居中 */ position: absolute; top: 260px; /* 调整此值以改变按钮距离顶部的距离 */ width: 100%; /* 让按钮栏宽度与轮播图一致 */ z-index: 10; /* 确保按钮在轮播图之上 */ } .float-button { margin: 0 5px; /* 左右间隔 */ } .float-button:not(:last-child) { margin-right: 10px; /* 仅在非最后一个按钮右侧添加间隔 */ } /*-------------------------------------------------------------- # Features --------------------------------------------------------------*/ .features .icon-box h4 { font-size: 20px; font-weight: 700; margin: 5px 0 10px 60px; } .features .icon-box i { font-size: 48px; float: left; color: #5846f9; } .features .icon-box p { font-size: 15px; color: #848484; margin-left: 60px; } .features .image { background-position: center center; background-repeat: no-repeat; background-size: cover; min-height: 400px; } .parent { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(5, 1fr); grid-column-gap: 0px; grid-row-gap: 0px; } .div1 { grid-area: 2 / 1 / 3 / 2; } .div2 { grid-area: 2 / 2 / 3 / 3; } .btn-group { display: flex; justify-content: center; } @media (min-width: 768px) { .btn-group { display: flex; justify-content: center; } } .card-with-image { position: relative; overflow: hidden; min-height: 200px; /* 根据需要调整高度 */ } .count-up .count-item .count-icon i { font-size: 2.5rem; color: #6e45e2; } .count-up .count-item .count-content { margin: 10px 0; } .count-up .count-item .count-content .count-number { font-size: 4rem; font-weight: bold; color: #ff9624; } .count-up .count-item p { font-size: 1.25rem; font-weight: 700; } .feature-data .count-up { color: #333; font-size: 70px; } .feature-data .text-muted { color: #666; font-size: 90px; } .layui-card { text-align: center; } .layui-col-md12 { text-align: center; } .layui-carousel { margin-top: 10px; background-color: transparent !important; } .parent { display: grid; place-items: center; /* 同时设置水平和垂直居中 */ } .layui-card-header { border-bottom: 1px solid #1e9fff; font-size: 20px; background-color: rgba(49, 189, 236, 0.1); } .layui-count-num { font-size: 20px; } .layui-carousel-title { font-size: 30px; color: #31bdec; } .layui-card-custom1 { background-color: #01205c; } #logo { position: relative; /* 为logo的容器添加相对定位,以便内部元素可以进行绝对定位 */ } .logo-image { position: absolute; /* 使用绝对定位 */ top: 50%; /* 根据需要调整垂直位置,这里假设将其居中对齐 */ left: -60px; /* 调整水平距离,负值使其向左移动,具体数值根据logo大小和所需位置调整 */ transform: translateY(-50%); /* 如果图片需要垂直居中,使用此行代码进行微调 */ height: 50px; /* 设置图片高度,根据实际logo尺寸调整 */ width: auto; /* 保持图片宽高比 */ } .logo-text { display: inline-block; /* 确保文字周围有空间放置logo */ margin-right: 5px; /* 可根据需要调整与后面文字的间距 */ } /* 移除导航栏背景色 */ #nav-menu-container .layui-nav { background-color: transparent !important; /* 将背景色设置为透明,使用!important确保覆盖默认样式 */ } /* 改变鼠标悬停时的指示颜色 */ #nav-menu-container .layui-nav .layui-nav-item a:hover, #nav-menu-container .layui-nav .layui-nav-bar { background-color: rgba(30, 153, 255, 0.5) !important; /* 将指示颜色设置为蓝色 */ } /* 如果需要也可以调整展开子菜单时的背景色 */ #nav-menu-container .layui-nav-child dd.layui-this a, #nav-menu-container .layui-nav-child dd.layui-this { background-color: rgba(30, 153, 255, 0.5) !important; /* 子菜单选中项的背景色也改为蓝色 */ } #phone-number { color: #333; /* 根据需要调整颜色 */ margin-top: 12px; /* 调整上边距以对齐 */ font-size: 20px; /* 调整字体大小 */ } /* 如果需要图标,确保引入Font Awesome或其他图标库,并调整图标样式 */ .fa-phone-square { margin-right: 5px; /* 图标与文字之间的间隔 */ } #innerBanner { position: relative; overflow: hidden; background-color: #01205c; width: 100%; height: auto; } .serverbg::before { width: 300px; height: auto; } #innerBanner::before { content: ""; position: absolute; top: 0; right: -100%; /* 初始位置完全在左侧 */ width: 33.33%; height: 100%; background-image: url('/image/bef781d2-5ae6-48ea-82fc-08365f78234e.png'); background-size: cover; background-repeat: no-repeat; animation: slideIn 2s forwards; } @keyframes slideIn { 0% { right: -100%; } 100% { right: 0; /* 移动到Banner宽度的三分之一位置 */ } } .fixed-size-image { width: 530px; height: auto; margin: 10px; vertical-align: middle; /* 避免与其他元素底部对齐的问题 */ } .image-container { display: flex; align-content: center; } /* 添加到你的CSS文件或