Skip to content

Commit

Permalink
fix : reset css 수정, 배경색 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeonseo-Jo committed Oct 12, 2023
1 parent ace3f65 commit 1e2e62c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion week1/aissgn3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="reset.css" />
<title>연서의 갤러리</title>
</head>
<body>
Expand Down
4 changes: 4 additions & 0 deletions week1/aissgn3/reset.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
License: none (public domain)
*/

* {
box-sizing: border-box;
}

html,
body,
div,
Expand Down
14 changes: 6 additions & 8 deletions week1/aissgn3/style.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
/* 임시로 이미지 크기 지정*/
img {
width: 10rem;
height: 10rem;
object-fit: contain;
}
/*reset css*/
@import url("./reset.css");

/** global css **/
@font-face {
Expand All @@ -15,8 +11,6 @@ img {
}

* {
box-sizing: border-box;

font-family: "Cafe24Supermagic-Bold-v1.0";
}

Expand All @@ -25,6 +19,10 @@ html {
scroll-behavior: smooth;
}

body {
background-color: whitesmoke;
}

/* a 태그 기본 스타일 제거*/
a {
color: inherit;
Expand Down

0 comments on commit 1e2e62c

Please sign in to comment.