Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions 1번 과제/1.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
}
.circle-container {
background-color: beige;
/* 코드 작성 */
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr;
}
.circle {
border-radius: 50%;
Expand All @@ -15,5 +17,8 @@
margin-top: 1vw;
font-weight: bold;
font-size: 50px;
/* 코드 작성 */
align-items: center;
display: flex;
align-items: center;
justify-content: center;
}
8 changes: 5 additions & 3 deletions 2번 과제/2.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ body {

.container {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
/* 코드 작성 */
flex-direction: row-reverse;
}

.box {
Expand All @@ -20,18 +20,20 @@ body {
display: flex;
justify-content: center;
align-items: center;
/* 코드 작성 */
}

.box-1 {
background-color: rgb(248, 223, 227);
flex-grow: 1;
}

.box-2 {
background-color: rgb(247, 194, 202);
flex-grow: 2;
}

.box-3 {
background-color: rgb(246, 142, 158);
flex-grow: 1;
}

13 changes: 12 additions & 1 deletion 3번 과제/3.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

#wrapper {
width: 700px;
}
display: grid;
grid-template: 1fr 2fr / 1fr 1fr 1fr;
}
.box {
padding: 15px;
color: #fff;
Expand All @@ -13,13 +15,22 @@

.box1 {
background-color: #3689ff;
grid-row: 1 / 2;
grid-column: 1 / 3;
}
.box2 {
background-color: #00cf12;
grid-row: 2 / 3;
grid-column: 1 / 2;
}
.box3 {
background-color: #ff9019;
grid-row: 1 / 2;
grid-column: 3 / 4;

}
.box4 {
background-color: #ffd000;
grid-row: 2 / 3;
grid-column: 3 / 4;
}
2 changes: 1 addition & 1 deletion 3번 과제/3.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>3번 문제제</title>
<title>3번 문제</title>
<link rel="stylesheet" href="3.css">
</head>
<body>
Expand Down