megabox19

헬프영역 반응형

헬프 영역을 반응형을 고려하여 css를 부여합니다.

 

결과

style.css

@media (max-width: 1024px) {
  .help article.help_box1 {
    width: 49%;
    margin-right: 2%;
  }

  .help article.help_box2 {
    width: 49%;
    margin-right: 0;
  }

  .help article.help_box3 {
    width: 100%;
    margin-top: 2%;
  }

  .help article {
    height: auto;
  }

  .service li {
    width: 25%;
    height: auto;
  }

  .service li:nth-child(1) {
    border-bottom: 1px solid #d7d7d7;
  }

  .service li:nth-child(2) {
    border-bottom: 1px solid #d7d7d7;
    border-right: 0;
  }

  .service li a strong {
    display: block;
    padding-bottom: 10%;
  }
}

@media (max-width: 768px) {
  #help .row {
    padding: 0 24px;
  }

  .help {
    padding-bottom: 24px;
  }

  .help article.help_box1 {
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    margin-right: 0;
    margin-top: 24px;
  }

  .help article.help_box2 {
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
    background: #fff;
    margin-right: 0;
    margin-top: 24px;
  }

  .help article.help_box3 {
    width: 100%;
    background: #fff;
    margin-top: 0;
    margin-top: 24px;
  }

  .help article.help_box1 h3 {
    font-size: 24px;
    font-weight: 700;
    height: 27px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .help article.help_box2 h3 {
    font-size: 24px;
    font-weight: 700;
    height: 27px;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .help article.help_box3 h3 {
    display: none;
  }

  .help article.help_box3>div {
    height: auto;
  }

  .service li {
    border: 0;
  }
}

@media (max-width: 600px) {
  #help .row {
    padding: 0 8px;
  }

  .help article.help_box1 {
    margin-top: 8px;
    padding: 16px;
  }

  .help article.help_box2 {
    margin-top: 8px;
    padding: 16px;
  }

  .help article.help_box3 {
    margin-top: 8px;
  }

  .help article.help_box1 h3 {
    font-size: 18px;
    margin-bottom: 0;
  }

  .help article.help_box2 h3 {
    font-size: 18px;
    margin-bottom: 0;
  }

  .card {
    padding: 8px;
  }

  .service li {
    width: 50%;
  }

  .service li:nth-child(1) {
    border-right: 1px solid #d7d7d7;
  }

  .service li:nth-child(3) {
    border-right: 1px solid #d7d7d7;
  }
}

@media (max-width: 320px) {
  .notice {
    padding: 8px;
  }

  .notice ul li ul {
    left: 9px;
    top: 56px;
  }

  .notice ul li ul li {
    padding: 8px;
  }

  .notice ul li a {
    padding: 5px 10px;
  }

  .help article>div {
    height: 287px;
  }

  .card ul li {
    padding: 8px;
    margin-bottom: 8px;
    min-height: 90px;
  }

  .card ul li span {
    left: 11px;
    top: 10px;
  }

  .card ul li span img {
    width: 60px;
  }

  .card ul li strong {
    padding-left: 70px;
    font-size: 14px;
  }

  .card ul li em {
    padding-left: 75px;
  }

  .service li a span {
    width: 70px;
    height: 70px;
  }

  .service li a strong {
    font-size: 14px;
  }
}

 

출력