@media screen and (min-width: 768px) { .main { .about { .cover { img { display: block; width: 470px; height: 480px; } } .info { width: 660px; padding-top: 65px; .name { font-size: 50px; color: #b62d1a; font-weight: bold; } .subname { font-size: 30px; margin-top: 15px; } .line { width: 36px; height: 7px; background: #b62d1a; margin: 20px 0 30px; } .description { text-align: justify; word-break: break-all; line-height: 36px; p { margin-top: 24px; font-size: 20px; } } } } .difference { .content { .section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background-color: #eeeeee; padding: 20px; -webkit-box-sizing: border-box; box-sizing: border-box; margin-top: 44px; &:first-child { margin-top: 0; } .cover { -ms-flex-negative: 0; flex-shrink: 0; img { display: -webkit-box; display: -ms-flexbox; display: flex; width: 450px; } } &:nth-child(2n-1) { .info { margin-left: 60px; margin-right: 30px; } } &:nth-child(2n) { .info { margin-right: 60px; margin-left: 30px; } } .info { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -ms-flex-negative: 0; flex-shrink: 0; .title { color: #b62d1a; font-size: 37px; font-weight: bold; } .description { font-size: 27px; color: #434343; line-height: 38px; margin-top: 38px; } } } } } .effect { .content { .section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-sizing: border-box; box-sizing: border-box; margin-top: 24px; &:first-child { margin-top: 0; } .cover { -ms-flex-negative: 0; flex-shrink: 0; img { display: -webkit-box; display: -ms-flexbox; display: flex; width: 388px; } } .info { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; -ms-flex-negative: 0; flex-shrink: 0; margin: 0 60px; .title { color: #b62d1a; font-size: 34px; font-weight: bold; } .description { font-size: 27px; color: #434343; line-height: 40px; margin-top: 38px; } } } } } } } @media screen and (max-width: 768px) { .main { .about { .content { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; -webkit-box-align: center; -ms-flex-align: center; align-items: center; .cover { margin-top: 0.4rem; img { display: block; width: 5.46rem; height: 5.57rem; } } .info { width: 6.5rem; margin: 0 auto; .name { font-size: 0.34rem; color: #b62d1a; text-align: center; font-weight: bold; } .subname { font-size: 0.26rem; margin-top: 0.16rem; text-align: center; } .line { width: 0.4rem; height: 0.06rem; background: #b62d1a; margin: 0.32rem auto; } .description { text-align: justify; word-break: break-all; color: #333333; text-align: center; p { font-size: 0.26rem; line-height: 0.48rem; } } } } } .difference { .content { .section { width: 6.86rem; background-color: #eeeeee; padding: 0.4rem 0.7rem; -webkit-box-sizing: border-box; box-sizing: border-box; margin: 0 auto; margin-top: 0.32rem; &:first-child { margin-top: 0; } .cover { img { display: block; width: 4.5rem; margin: 0 auto; } } .info { .title { color: #b62d1a; font-size: 0.3rem; font-weight: bold; margin: 0.4rem 0 0.32rem; text-align: center; } .description { font-size: 0.26rem; color: #333; line-height: 0.48rem; text-align: center; } } } } } .effect { .content { .section { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; -webkit-box-align: center; -ms-flex-align: center; align-items: center; width: 5.98rem; margin: 0 auto; text-align: center; margin-top: 0.8rem; &:first-child { margin-top: 0; } .cover { img { width: 3.88rem; } } .info { .title { color: #b62d1a; font-size: 0.3rem; font-weight: bold; margin: 0.24rem 0 0.16rem; } .description { font-size: 0.26rem; color: #333; line-height: 0.48rem; } } } } } } }