-
Notifications
You must be signed in to change notification settings - Fork 26
Basic 류정훈 sprint3 #81
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
The head ref may contain hidden characters: "Basic-\uB958\uC815\uD6C8-Sprint3"
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,21 +3,27 @@ | |
| <head> | ||
| <meta charset="UTF-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| <!-- 스프린트 미션 3 meta 태그 --> | ||
| <meta property="og:type" content="website"> | ||
| <meta property="og:title" content="판다마켓"> | ||
| <meta property="og:description" content="일상의 모든 물건을 거래해보세요."> | ||
| <meta property="og:image" content="https://sprint-mission.netlify.app/img/Img_home_top.png"> | ||
| <meta property="og:url" content="https://sprint-mission.netlify.app/"> | ||
| <title>판다마켓</title> | ||
| <link rel="stylesheet" href="style.css"> | ||
| <link rel="stylesheet" as="style" crossorigin href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable.min.css" /> | ||
|
|
||
| </head> | ||
| <body> | ||
| <header> | ||
| <a href="/" id="logo"><img src="img/logo.png">판다마켓</a> | ||
| <a href="/" id="logo"><img src="img/logo.png" id="loico">판다마켓</a> | ||
| <a href="/login.html" id="login">로그인</a> | ||
| </header> | ||
| <main> | ||
| <div class="hometop"> | ||
| <div class="htbox"> | ||
| <span class="textbox"> | ||
| <div id="tbt1">일상의 모든 물건을 </br> 거래해 보세요</div> | ||
| <div id="tbt1">일상의 모든 물건을 거래해 보세요</div> | ||
| <div><a href="/items.html" id="itembtn">구경하러 가기</a></div> | ||
| </span> | ||
| <img src="img/Img_home_top.png" class="img"> | ||
|
|
@@ -28,7 +34,7 @@ | |
| <img src="img/Img_home_01.png" class="img"> | ||
| <span class="htxt"> | ||
| <div class="txtindex">Hot item</div> | ||
| <div class="txtmsg">인기 상품을 <br>확인해 보세요</div> | ||
| <div class="txtmsg">인기 상품을 확인해 보세요</div> | ||
| <div class="txttxt">가장 HOT 한 중고거래 물품을 <br>판다 마켓에서 확인해 보세요 </div> | ||
| </span> | ||
| </div> | ||
|
|
@@ -37,7 +43,7 @@ | |
| <div class="hbox sec"> | ||
| <span class="htxt"> | ||
| <div class="txtindex">Search</div> | ||
| <div class="txtmsg">구매를 원하는 <br>상품을 검색하세요</div> | ||
| <div class="txtmsg">구매를 원하는 상품을 검색하세요</div> | ||
| <div class="txttxt">구매하고 싶은 물품은 검색해서<br>쉽게 찾아보세요</div> | ||
| </span> | ||
| <img src="img/Img_home_02.png" class="img"> | ||
|
|
@@ -48,7 +54,7 @@ | |
| <img src="img/Img_home_03.png" class="img"> | ||
| <span class="htxt"> | ||
| <div class="txtindex">Register</div> | ||
| <div class="txtmsg">판매를 원하는<br>상품을 등록하세요</div> | ||
| <div class="txtmsg">판매를 원하는 상품을 등록하세요</div> | ||
| <div class="txttxt">어떤 물건이든 판매하고 싶은 상품을<br>쉽게 등록하세요</div> | ||
| </span> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -37,8 +37,7 @@ main{ | |||||||||||||||||||||||||||||
| margin:60px auto; | ||||||||||||||||||||||||||||||
| display:flex; | ||||||||||||||||||||||||||||||
| flex-direction: column; | ||||||||||||||||||||||||||||||
| gap:16px; | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| gap:16px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .inputbox, | ||||||||||||||||||||||||||||||
| .labels{ | ||||||||||||||||||||||||||||||
|
|
@@ -48,6 +47,7 @@ main{ | |||||||||||||||||||||||||||||
| width: 100%; | ||||||||||||||||||||||||||||||
| height : 56px; | ||||||||||||||||||||||||||||||
| padding-right: 50px; | ||||||||||||||||||||||||||||||
| padding-left: 24px; | ||||||||||||||||||||||||||||||
| border-radius: 12px; | ||||||||||||||||||||||||||||||
| border: 2px; | ||||||||||||||||||||||||||||||
| border-color: #3182F6; | ||||||||||||||||||||||||||||||
|
|
@@ -72,7 +72,7 @@ button{ | |||||||||||||||||||||||||||||
| height : 56px; | ||||||||||||||||||||||||||||||
| border-radius: 40px; | ||||||||||||||||||||||||||||||
| color: var(--gray100); | ||||||||||||||||||||||||||||||
| background-color: var(--blue); | ||||||||||||||||||||||||||||||
| background-color: var(--gray400); | ||||||||||||||||||||||||||||||
| width : 100%; | ||||||||||||||||||||||||||||||
| font-size: 20px; | ||||||||||||||||||||||||||||||
| font-weight: 600; | ||||||||||||||||||||||||||||||
|
|
@@ -113,5 +113,32 @@ button{ | |||||||||||||||||||||||||||||
| .blindIco{ | ||||||||||||||||||||||||||||||
| position: absolute; | ||||||||||||||||||||||||||||||
| right : 17px; | ||||||||||||||||||||||||||||||
| top : 17px; | ||||||||||||||||||||||||||||||
| top : 17px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| /*태블릿*/ | ||||||||||||||||||||||||||||||
| @media(min-width : 768px) and (max-width : 1199px){ | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| /*모바일*/ | ||||||||||||||||||||||||||||||
| @media(max-width : 767px){ | ||||||||||||||||||||||||||||||
| header{ | ||||||||||||||||||||||||||||||
| margin-top: 24px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
Comment on lines
+124
to
+126
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (제안) 만약 스타일 선택자 목적이라면 태그보다는
|
||||||||||||||||||||||||||||||
| #logo{ | ||||||||||||||||||||||||||||||
| font-size: 33px; | ||||||||||||||||||||||||||||||
| margin-bottom: 0; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| .img{ | ||||||||||||||||||||||||||||||
| width: 52px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| main{ | ||||||||||||||||||||||||||||||
| width: 100%; | ||||||||||||||||||||||||||||||
| margin :32px auto; | ||||||||||||||||||||||||||||||
| padding-left: 16px; | ||||||||||||||||||||||||||||||
| padding-right: 16px; | ||||||||||||||||||||||||||||||
| max-width: 432px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
|
Comment on lines
+134
to
+140
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 혹시 아직 프리티어가 적용되지 않으셨을까요?
Suggested change
사소한 줄바꿈, 띄어쓰기 등 코드를 작성하시다보면 자연스럽게 불규칙해지는 경우가 많아요. 보편적으로 많이 사용되는 툴은
만약 프리티어 적용이 어려우시면 DM주세요 ~! 😉
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 다운로드는 받았는데 실행을 따로 해야하나보네요.. |
||||||||||||||||||||||||||||||
| .labels{ | ||||||||||||||||||||||||||||||
| font-size: 14px; | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| } | ||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -40,7 +40,7 @@ header{ | |
| color : #f3f4f6; | ||
| background-color: #3691ff; | ||
| border-radius: 8px; | ||
| padding: 12px 23px; | ||
| padding: 12px 24px; | ||
| gap:10px; | ||
| } | ||
| .img{ | ||
|
|
@@ -72,6 +72,7 @@ header{ | |
| #tbt1{ | ||
| margin: 0 62px 32px 0; | ||
| flex-shrink: 1; | ||
| line-height: 140%; | ||
| } | ||
| #itembtn{ | ||
| display:block; | ||
|
|
@@ -93,6 +94,7 @@ header{ | |
| font-weight: 700; | ||
| line-height: 140%; | ||
| flex-shrink: 1; | ||
| width: 357px; | ||
| } | ||
|
|
||
| .home{ | ||
|
|
@@ -110,6 +112,7 @@ header{ | |
| background-color: #fcfcfc; | ||
| gap:64px; | ||
| flex-shrink: 1; | ||
| width: 988px; | ||
| } | ||
| .sec{ | ||
| text-align: right; | ||
|
|
@@ -129,6 +132,9 @@ header{ | |
| font-weight: 700; | ||
| line-height: 140%; | ||
| flex-shrink: 1; | ||
| white-space: wrap; | ||
| word-break: normal; | ||
| overflow-wrap: normal; | ||
| } | ||
| .txttxt{ | ||
| font-size: 24px; | ||
|
|
@@ -169,4 +175,169 @@ footer{ | |
| .icons{ | ||
| display:flex; | ||
| gap:12px; | ||
| } | ||
| /*태블릿*/ | ||
| @media(min-width : 768px) and (max-width : 1199px){ | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 굿굿 ~ 태블릿, PC 별로 미디어 쿼리를 잘 적용하셨네요 👍👍 |
||
| header{ | ||
| padding : 0 24px; | ||
| } | ||
| .htbox{ | ||
| height : 100%; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| } | ||
| .hometop{ | ||
| padding-top: 84px; | ||
| height : 771px; | ||
| align-items: flex-start; | ||
| justify-content: center; | ||
| } | ||
| .textbox{ | ||
| width : 600px; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap:24px; | ||
| text-align: center; | ||
| } | ||
| #tbt1{ | ||
| margin:0; | ||
| width: 100%; | ||
| } | ||
| #itembtn{ | ||
| width: 357px; | ||
| } | ||
| .homebottom{ | ||
| height : 927px; | ||
| padding-top: 200px; | ||
| align-items: flex-start; | ||
| justify-content: center; | ||
| } | ||
| .home{ | ||
| align-items: flex-start; | ||
| margin:52px 24px; | ||
| } | ||
| .hbox{ | ||
| width: 100%; | ||
| height: 708px; | ||
| flex-direction: column; | ||
| align-items: flex-start; | ||
| justify-content: space-between; | ||
| gap:24px; | ||
| } | ||
| .sec{ | ||
| flex-direction: column-reverse; | ||
| } | ||
| .htxt{ | ||
| width:100%; | ||
| } | ||
| .txtmsg{ | ||
| white-space: nowrap; | ||
| } | ||
| .txtmsg{ | ||
| font-size: 32px; | ||
| } | ||
| .txttxt{ | ||
| font-size:18px; | ||
| } | ||
| .img{ | ||
| width : 100%; | ||
| max-height: 524px; | ||
| overflow: hidden; | ||
| } | ||
| } | ||
| /*모바일*/ | ||
| @media(max-width : 767px){ | ||
| header{ | ||
| padding : 0 16px; | ||
| } | ||
| #loico{ | ||
| display: none; | ||
| } | ||
| .htbox{ | ||
| height : 100%; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| } | ||
| .hometop{ | ||
| padding-top: 48px; | ||
| height : 540px; | ||
| align-items: flex-start; | ||
| justify-content: center; | ||
| } | ||
| .textbox{ | ||
| width : 240px; | ||
| display: flex; | ||
| flex-direction: column; | ||
| justify-content: center; | ||
| align-items: center; | ||
| gap:18px; | ||
| text-align: center; | ||
| } | ||
| #tbt1{ | ||
| margin:0; | ||
| width: 100%; | ||
| font-size: 32px; | ||
| } | ||
| #itembtn{ | ||
| width: 240px; | ||
| height: 48px; | ||
| font-size: 18px; | ||
| line-height: 17px; | ||
| } | ||
|
Comment on lines
+280
to
+290
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (제안) 단순히 스타일을 위한 선택자라면
|
||
| .homebottom{ | ||
| height : 540px; | ||
| padding-top: 120px; | ||
| align-items: flex-start; | ||
| justify-content: center; | ||
| } | ||
| .home{ | ||
| align-items: flex-start; | ||
| margin:40px 16px; | ||
| } | ||
| .hbox{ | ||
| width: 100%; | ||
| height: 416px; | ||
| flex-direction: column; | ||
| align-items: flex-start; | ||
| justify-content: space-between; | ||
| gap:24px; | ||
| } | ||
| .sec{ | ||
| flex-direction: column-reverse; | ||
| } | ||
| .htxt{ | ||
| width:100%; | ||
| } | ||
| .txtindex{ | ||
| font-size: 16px; | ||
| } | ||
| .txtmsg{ | ||
| white-space: nowrap; | ||
| font-size: 24px; | ||
| } | ||
| .txttxt{ | ||
| font-size:18px; | ||
| } | ||
| .img{ | ||
| width : 100%; | ||
| max-height: 260px; | ||
| overflow: hidden; | ||
| } | ||
| footer{ | ||
| flex-wrap: wrap; | ||
| justify-content: space-between; | ||
| padding : 32px; | ||
| height:160px; | ||
| } | ||
| #links>*{ | ||
| margin-left: 0; | ||
| margin-right: 32px; | ||
| } | ||
| #bn{ | ||
| order:3; | ||
| } | ||
|
Comment on lines
+340
to
+342
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| } | ||
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.
훌륭합니다 ~! 메타 태그를 적절히 설정하셨네요 👍👍