-
Notifications
You must be signed in to change notification settings - Fork 0
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
파일추가 #2
base: main
Are you sure you want to change the base?
파일추가 #2
Conversation
.main-box { | ||
height: 430px; | ||
width: 1425px; | ||
background-image: url("../bg.jpeg"); |
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.
현재 배경이 반복되어서 나오고 있는데 의도하신게 아니라면
background: url(../bg.jpeg) no-repeat center center; 이렇게 작성해보시는건 어떨까요?
no-repeat은 사진을 한번만 보이게 해줘요~
<div class="main-box"> | ||
<div class="profile-box"> | ||
<div class="profile-picture"> | ||
<img src="programmer.jpeg" style="width:200px;border-radius: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.
이미지의 크기를 지정해줄 때 style.css파일 말고 html 태그의 style속성에 css를 작성해준 이유가 따로 있으실까요??
float:left; | ||
color:white; | ||
font-size:25px; | ||
margin:0 0 0 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.
margin:0 0 0 0;은 margin:0과 같으므로 0 하나만 작성하시면 가독성이 더 좋을 거 같아요!
} | ||
|
||
nav a { | ||
text-decoration: none; |
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.
a태그의 text-decoration : none;를 99번째 라인에도 주셨는데 이렇게 반복적으로 작성된다면 body에 적용해주면 어떨까요?
|
||
justify-content : center; | ||
text-align: center; | ||
font-family: "jack"; |
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.
51, 61번째 라인에서도 중복되어 작성하셨는데 body로 옮겨 보시는 건 어떨까요?
body태그에서 한번만 작성하면 되니까 코드 유지 보수할 때 훨씬 수월할 거 같아요
No description provided.