-
Notifications
You must be signed in to change notification settings - Fork 44
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 #48
The head ref may contain hidden characters: "part1-\uC774\uBCF4\uC131-week2"
[이보성] Week2 #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.
<body> | ||
<div class="container"> | ||
<nav class="nav"> | ||
<a href="/"><img src="./logo.svg" alt="" class="logo hoverc"></a> |
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.
img 태그엔 꼭꼭 alt 속성값 채워주세요!
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.
hoverc 는 hoverclass 라는 뜻일까요? 그렇다면 그냥 hover 라고만 쓰셔도 될 거 같습니다!
</div> | ||
<main> | ||
<div class="sec one"> | ||
<div class="sec one body"> |
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.
classname 을 one, two 처럼 짓는 것은 지양해주세요! 어떤 기능을 하는가를 기준으로 지으시는 걸 추천드립니다!
그리고 태그명을 대체하는 클래스명(sec, body)도 그냥 태그에 바로 스타일을 먹이시는 걸 추천드립니다!
:root { | ||
--gra-purpleblue-to-skyblue: linear-gradient(91deg, #6D6AFE 0.12%, #6AE3FE 101.84%); | ||
--gra-purpleblue-to-pink: linear-gradient(91deg, #6D6AFE 17.28%, #FF9F9F 74.98%); | ||
--gra-pink-to-blue: linear-gradient(96deg, #FE8A8A 1.72%, #A4CEFF 74.97%); | ||
--gra-yello-to-blue:linear-gradient(277deg, #6FBAFF 59.22%, #FFD88B 93.66%); | ||
--gra-blue-to-blue:linear-gradient(99deg, #6D7CCD 19.76%, rgba(82, 136, 133, 0.22) 52.69%); | ||
--gra-skyblue-to-blue:linear-gradient(271deg, #FE578F -9.84%, #68E8F9 107.18%); | ||
--purple-color: #6D6AFE; | ||
--red-color: #FF5B56; | ||
--black-color: #111322; | ||
--white-color: #FFFFFF; | ||
--gray1-color: #3E3E43; | ||
--gray2-color: #9FA6B2; | ||
--gray3-color: #CCD5E3; | ||
--gray4-color: #E7EFFB; | ||
--gray5-color: #F0F6FF; | ||
--gray6-color: #6B6B6B; | ||
} | ||
|
||
*{ | ||
box-sizing: border-box; | ||
} | ||
|
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> | ||
</div> | ||
<footer> | ||
<div class="footcontainer"> |
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.
따로 ~container 로 묶지 않으시고 바로 시맨틱 태그에 클래스명 적고 스타일 주셔도 좋을 거 같아요!
요구사항
기본
심화
주요 변경사항
스크린샷
멘토에게