@media screen and (min-width: 768px) { .main { margin-top: -80px; } .main .title { font-size: 24px; font-weight: bold; } .main .about .cover { width: 614px; height: 412px; background-color: pink; } .main .about .container { position: relative; } .main .about .content { position: absolute; bottom: 0; right: 0; width: 518px; } .main .about .content .title { font-size: 34px; text-transform: uppercase; } .main .about .content .detail { font-size: 14px; line-height: 40px; text-align: justify; } .main .about .content .tags { margin-top: 36px; display: -webkit-box; display: -ms-flexbox; display: flex; } .main .about .content .tags .tag { padding: 8px 14px; font-size: 16px; color: #0688d2; background: #eff9ff; } .main .about .content .line { margin: 32px 0; width: 32px; height: 2px; background: #d8d8d8; } .main .service { margin-top: 180px; margin-bottom: 80px; } .main .service .cover { position: relative; width: 646px; height: 490px; background: #fff; -webkit-box-sizing: border-box; box-sizing: border-box; } .main .service .cover img { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); display: block; width: 700px; } .main .service .content { width: 416px; } .main .service .content .title { padding-top: 24px; } .main .service .content .line { margin: 32px 0; width: 32px; height: 2px; background: #d8d8d8; } .main .service .content .detail { font-size: 14px; text-align: justify; } .main .service .content .detail .lh40 { line-height: 40px; } .main .service .content .detail .lh28 { line-height: 28px; } .main .service .content .detail .mt32 { margin-top: 32px; } .main .service .content .detail .mt16 { margin-top: 16px; } .main .service .content .detail li .label { margin-bottom: 16px; } .main .service .content .detail li .text { color: #999999; } .main .service .content .detail .description { font-size: 16px; } } @media screen and (max-width: 768px) { .main .title { font-size: 0.48rem; font-weight: bold; } .main .container { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: end; -ms-flex-pack: end; justify-content: flex-end; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; } .main .about { position: relative; margin-top: 0.8rem; } .main .about .cover { width: 6.14rem; height: 4.12rem; margin-top: 0.48rem; } .main .about .cover img { display: block; width: 6.14rem; height: 4.12rem; } .main .about .container { position: relative; } .main .about .content { width: 6.08rem; margin: 0 auto; float: none !important; } .main .about .content .title { font-size: 0.34rem; text-transform: uppercase; text-align: center; } .main .about .content .detail { font-size: 0.24rem; line-height: 0.4rem; text-align: justify; } .main .about .content .tags { margin-top: 0.32rem; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; } .main .about .content .tags .tag { padding: 0.07rem 0.29rem; font-size: 0.24rem; color: #0688d2; background: #eff9ff; } .main .about .content .line { margin: 0.32rem auto; width: 0.4rem; height: 0.03rem; background: #d8d8d8; } .main .service { margin-top: 0.9rem; } .main .service .cover { position: relative; width: 6.94rem; height: 4.66rem; background: #fff; -webkit-box-sizing: border-box; box-sizing: border-box; margin-top: 0.32rem; } .main .service .cover img { position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); display: block; width: 100%; } .main .service .content { width: 6.08rem; margin: 0 auto; float: none !important; } .main .service .content .title { padding-top: 24px; font-size: 0.34rem; text-align: center; } .main .service .content .line { margin: 0.32rem auto; width: 0.4rem; height: 0.03rem; background: #d8d8d8; } .main .service .content .detail { font-size: 0.26rem; text-align: center; } .main .service .content .detail .lh40 { line-height: 0.4rem; } .main .service .content .detail .lh28 { line-height: 0.28rem; } .main .service .content .detail .mt32 { margin-top: 0.32rem; } .main .service .content .detail .mt16 { margin-top: 0.16rem; } .main .service .content .detail li .label { margin-bottom: 0.16rem; margin-top: 0.32rem; } .main .service .content .detail li .text { color: #999999; font-size: 0.26rem; line-height: 0.4rem; } .main .service .content .detail .description { font-size: 0.26rem; line-height: 0.4rem; } }