-
Notifications
You must be signed in to change notification settings - Fork 33
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
[최권진] Sprint3 #48
The head ref may contain hidden characters: "Basic-\uCD5C\uAD8C\uC9C4"
[최권진] Sprint3 #48
Conversation
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.
권진님 이번 미션도 잘 마무리 해주셨네요 💯
요소 배치하실 때 조금 더 유연한 방법들을 고려해보셔도 좋을 거 같습니다 :) (flex, grid 등)
공통 스타일관리를 어떻게 해야할지, 어떤 자료를 찾으면 저에게 도움이 될지 궁금합니다.
-> 지금은 간단하게만 해보셔도 좋아요! 재사용되는 코드, 같은 목적을 가진 코드를 한 곳에 모아주면 좋습니다! 예를 들면 지금 login.css, signup.css, style.css 파일들에 색상 변수가 각각 정의되어 있는데, 여기에 색상이 추가되면 어떻게 될까요? 모든 css 파일을 찾아다니며 새로운 색상을 추가하시게 될 거에요! 페이지가 늘어나고 css 파일이 늘어날수록 관리가 더욱 힘들어지겠죠. 😢
이 때 공통으로 사용되는 스타일을 관리하는 css파일을 만들고 관리 하시면 유지보수가 훨씬 편해집니다 :)
예를 들면 아래처럼 common.css에는 공통 스타일이 있고 login.css에는 login 관련 스타일만 넣고 사용하는 거죠!
<link rel="stylesheet" href="./css/common.css" />
<link rel="stylesheet" href="./css/login.css" />
지금은 사용 중인 부분에서 공통만 뽑아내셔도 좋습니다! 이후에 reset css, css 유틸리티 클래스를 키워드로 조금 더 검색해 보시면 좋습니다 :)
rel="stylesheet" | ||
/> | ||
</head> | ||
<!DOCTYPE html> |
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.
html 태그가 잘못 들어온 거 같네요🤣
@@ -96,13 +110,14 @@ <h2> | |||
<div class="landing-page-last"> | |||
<div class="landing-page-text"> | |||
<span class="large-text-last"> | |||
믿을 수 있는<br />판다마켓 중고 거래 | |||
<span class="reliable">믿을 수 있는</span><br />판다마켓 중고 거래 |
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.
가운데 정렬을 의도하신거라면 부모 태그에서 text-align을 사용하실 수 있어요 :)
margin-top: 231px; | ||
} | ||
|
||
#join { |
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.
불필요한 코드 같네요! 🤔
margin-top: 80px; | ||
} | ||
|
||
.panda-logo-img { |
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.
반응형 이미지로 picture를 사용해보셔도 좋아요!
max-width: 400px; | ||
} | ||
|
||
.eyes { |
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.
@media (max-width: 766px) { | ||
.panda-logo-a { | ||
display: block; | ||
width: fit-content; |
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.
fit-content와 block을 사용하신 이유는 무엇일까요!? 속성 하나하나 짚어가시면 좋습니다 :)
.landing-page-text { | ||
width: auto; | ||
height: 56px; | ||
position: relative; |
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.
요구사항
기본
심화
주소와 이미지는 자유롭게 설정하세요.
주요 변경사항
멘토에게