-
Notifications
You must be signed in to change notification settings - Fork 56
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
[이서영] Week2 #126
base: part1-이서영
Are you sure you want to change the base?
The head ref may contain hidden characters: "part1-\uC774\uC11C\uC601-week2"
[이서영] Week2 #126
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.
main-bg1.png
정도면 더 명확하게 이미지의 역할을 파악할 수 있을 것 같습니다!
@@ -0,0 +1,148 @@ | |||
.body { | |||
color: var(--black, #000); |
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.
--black
, --linkbrary-bg
등 CSS 변수에 대한 선언이 빠졌네요,
기본값을 명시해주셔서 정상적으로 스타일이 적용되긴 하겠지만... 사용하고 계신 변수들은 선언 후에 사용해주세요.
.social-icon { | ||
width: 42px; | ||
height: 42px; | ||
position: relative; | ||
width: 42px; | ||
height: 42px; |
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.
width, height 선언이 두번씩 들어가 있습니다.
의도하신게 아니라면 불필요한 중복 코드는 제거해주세요!
<header> | ||
<nav> | ||
<a href="index.html"> | ||
<img src="./images/logo.svg" alt="홈으로 연결된 Linkbrary 로고" /> |
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.
파일 별로 상대 경로(ex. ./imagegs/logl.svg
)와 절대 경로(ex. /imagegs/logl.svg
)를 혼용하고 계신데요,
한 프로젝트 내에서는 한가지 방법으로 통일하는게 일관성, 가독성을 위해 좋습니다.
절대 경로/상대 경로에 대해 알아보시고 원하는 방법 한가지로 통일해서 사용해 주세요.
|
||
position:fixed; | ||
top: 0; | ||
background-color: #edf7ff; | ||
} |
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.
fixed 속성으로 nav 고정을 잘 구현해주셨네요 👍
#icon-kakao { | ||
width: 26px; | ||
height: 24px; | ||
flex-shrink: 0; | ||
z-index: 1; | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); |
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.
아이콘 중앙 정렬도 position
, transform
속성을 이용해서 잘 구현해주셨습니다 👍
요구사항
기본
성
심화
주요 변경사항
스크린샷
멘토에게