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
12 changes: 8 additions & 4 deletions 1번 과제/1.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@
margin: 0;
}
.circle-container {
background-color: beige;
/* 코드 작성 */
background-color: rgb(255, 210, 210);
display : flex;
flex-wrap : wrap;
justify-content : center;
}
.circle {
border-radius: 50%;
background-color: burlywood;
background-color: rgb(255, 96, 189);
width: 30vw;
height: 30vw;
margin-top: 1vw;
font-weight: bold;
font-size: 50px;
/* 코드 작성 */
display : flex;
justify-content : center;
align-items: center;
}
6 changes: 4 additions & 2 deletions 2번 과제/2.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ body {
height: 100%;
display: flex;
flex-direction: column;
/* 코드 작성 */
justify-content: center;
flex-direction: row-reverse;
}

.box {
Expand All @@ -20,7 +21,8 @@ body {
display: flex;
justify-content: center;
align-items: center;
/* 코드 작성 */
flex-grow : 1;

}

.box-1 {
Expand Down
18 changes: 16 additions & 2 deletions 3번 과제/3.css
Original file line number Diff line number Diff line change
@@ -1,25 +1,39 @@
/* 아래 코드를 수정해주세요!! 수업 때 배운 grid를 최대한 활용해주세요 */

#wrapper {
width: 700px;
#wrapper {
display : grid;
grid-template-columns : 1fr 1fr 1fr;
grid-template-rows : 1fr 2.2fr;
width: 100%;
height : 400px;

}
.box {
padding: 15px;
color: #fff;
font-size: 20px;
font-weight: bold;
text-align: center;

}

.box1 {
background-color: #3689ff;
grid-column : 1/3;
grid-row : 1;
}
.box2 {
background-color: #00cf12;
grid-column : 1;
grid-row : 2;
}
.box3 {
background-color: #ff9019;
grid-column : 3/4;
grid-row : 1;
}
.box4 {
background-color: #ffd000;
grid-column : 3/4;
grid-row : 2;
}
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