-
Notifications
You must be signed in to change notification settings - Fork 26
[오세진] sprint 3 #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[오세진] sprint 3 #100
The head ref may contain hidden characters: "Basic-\uC624\uC138\uC9C4-sprint3"
Conversation
| .main-top > .container > .main-core-img { | ||
| width: 120%; | ||
| object-fit: contain; | ||
| overflow: hidden; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
figma를 기준으로 봤을때 일상의 모든 물건을 거래해 보세요 하단의 이미지가 PC, tablet에 비해서 조금 확장된것 처럼 보였씁니다. 그래서 120%로 width 값을 주었는데, 개발자 도구를 통해서 확인할때 저 이미지가 body width보다 더 튀어나올때도 있고, 아닐때도 있더라고요. 120%로 설정하지 않는게 더 나았을까요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음 ~ 해당 사항은 디자이너분과 소통하면서 "확장을 의도한 것인지"를 먼저 확정하고 스타일링 해야될 것으로 보이네요 ! 😉
배경이미지를 의도한 것인지 아니면 이미지를 의도한 것인지도 알아두면 좋을 것 같네요 !
미션 진행 관점에서는 출력되는 UI가 유사하다면 문제 없을 것으로 사료됩니다. 😊
|
스프리트 미션 하시느라 수고 많으셨어요. |
| .main-top > .container > .main-core-img { | ||
| width: 120%; | ||
| object-fit: contain; | ||
| overflow: hidden; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
음 ~ 해당 사항은 디자이너분과 소통하면서 "확장을 의도한 것인지"를 먼저 확정하고 스타일링 해야될 것으로 보이네요 ! 😉
배경이미지를 의도한 것인지 아니면 이미지를 의도한 것인지도 알아두면 좋을 것 같네요 !
미션 진행 관점에서는 출력되는 UI가 유사하다면 문제 없을 것으로 사료됩니다. 😊
| } | ||
| } | ||
|
|
||
| @media (max-width: 767px) and (min-width: 375px) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
굿굿 ! 반응형을 잘 적용하셨군요 👍👍
| header .navi { | ||
| margin: 0 16px; | ||
| padding: 12px 0; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(제안) header의 경우 한 문서에 여러개가 있을 수 있으므로 왠만하면 class로 만들어두는걸 추천드려봅니다 😉
클래스는 재사용이 가능하며, 자유롭게 태그에 스타일을 붙일 수 있어서 유지보수에 용이하므로 단순히 스타일을 위해서라면 class를 추천드려요 !
좀 더 자세히 🤔
유지보수가 어려워질 수 있어요.
특정 p 태그에만 다른 스타일을 적용하려면 추가적인 선택자를 작성하거나 기존 스타일을 덮어써야 하므로 유지보수가 어려워집니다.
태그 의미를 명확히 부여하기 어려워요.
스타일링을 태그에 직접 적용하면, 태그가 어떤 의미를 가지는지 어렵기에 가독성이 보다 좋지 못할 수 있어요.
만약 다음 코드의 스타일을 태그 선택자로만 지정한다면 ?
<p class="error-message">오류가 발생했습니다.</p>물론 전역적인 것을 의미한다면 일정 허용될 수 있어요.
예를 들어서 p의 기본 마진을 없애고 싶다면 다음과 같이 작성할 수 있을거예요:
p {
margin: 0;
}그렇지만 특정 스타일을 지정하고 싶다면 다음과 같이 작성해볼 수 있어요:
.paragraph {
font-size: 16px;
color: #333;
}
.highlight {
background-color: yellow;
}| footer { | ||
| height: 160px; | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
footer 또한 방금 코멘트와 동일합니다 😊
| footer .footer-list { | ||
| display: grid; | ||
| grid-template-areas: | ||
| "policy sns" | ||
| ". ." | ||
| "copyright ."; | ||
| grid-template-columns: 1fr 1fr; | ||
| gap: 16px; | ||
| padding: 20px 16px; | ||
| align-items: center; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
크으 ~ 그리드를 잘 활용하셨네요 👍
| <title>판다마켓</title> | ||
| <link rel="stylesheet" href="css/reset.css" /> | ||
| <link rel="stylesheet" href="css/main-style.css" /> | ||
| <meta property="og:image" content="./images/5d7d01ce3d5d3c8c.jpg" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
혹시 해당 이미지 정상적으로 동작이 될까요?
| <meta property="og:image" content="./images/5d7d01ce3d5d3c8c.jpg" /> | |
| <meta property="og:image" content="/images/5d7d01ce3d5d3c8c.jpg" /> |
. 때문에 잘못된 경로로 인식하지 않을까 싶어서요. 🤔
js의 경우 ./를 하면 잘 인식하는데 html의 경우 {baseULR}./images처럼 동작되지 않을까 염려되어 확인 요청드립니다 😉
| <meta property="og:image" content="./images/5d7d01ce3d5d3c8c.jpg" /> | ||
| <meta property="og:title" content="판다 마켓" /> | ||
| <meta property="og:description" content="일상의 모든 물건을 거래해보세요" /> | ||
| <meta property="og:url" content="https://www.codeit.kr" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
og:url은 세진님께서 배포하신 링크로 작성하시는게 올바릅니다 😉
| <meta property="og:url" content="https://www.codeit.kr" /> | |
| <meta property="og:url" content="https://세진님판다마켓URL" /> |
| 인기 상품을 <br /> | ||
| 확인해 보세요 | ||
| </h2> | ||
| <h2 class="main-title">인기 상품을 <br class="invisible" />확인해 보세요</h2> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
invisible이 반응형에 따라 활성화 되는게 의도된거라면 그 조건도 함께 이름에 포함해볼 수 있습니다 !
| <h2 class="main-title">인기 상품을 <br class="invisible" />확인해 보세요</h2> | |
| <h2 class="main-title">인기 상품을 <br class="mobile-invisible" />확인해 보세요</h2> |
혹은 sm-invisible, md-invisible과 같이 작성해볼 수도 있겠네요 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 햄스터가 참 귀엽네요 😂😂
|
수고하셨습니다 세진님 ! 무튼, 무쪼록 미션 수행하시느라 정말 수고 많으셨습니다. |
요구사항
기본
공통
PC: 1200px 이상
Tablet: 768px 이상 ~ 1199px 이하
Mobile: 375px 이상 ~ 767px 이하
375px 미만 사이즈의 디자인은 고려하지 않습니다
랜딩 페이지
로그인, 회원가입 페이지 공통
심화
미리보기에서 제목은 “판다 마켓”, 설명은 “일상의 모든 물건을 거래해보세요”로 설정합니다.
주소와 이미지는 자유롭게 설정하세요.
스크린샷
멘토에게