Skip to content
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

전병주 과제 #12

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
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
Binary file added 전병주/img/google.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 전병주/img/kakao.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 전병주/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added 전병주/img/show.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added 전병주/jgfg.html
Empty file.
32 changes: 32 additions & 0 deletions 전병주/project1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

table {
border-collapse: collapse;
}

td {
border: 1px solid black;
width: 80px;
height: 80px;
text-align: center;
}

.part-5 {
background-color: yellow;
}

span {
color: red;
}

div {
border: 1px solid black;
box-shadow: 10px 10px 5px gray;
cursor: pointer;
}
32 changes: 32 additions & 0 deletions 전병주/project1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="project1.css" />
<title>project1</title>
</head>
<body>
<div>
<table class="table-box">
<tr>
<td class="part-1">1</td>
<td class="part-2">2</td>
<td class="part-3">3</td>
</tr>

<tr>
<td class="part-4">4</td>
<td class="part-5">5</td>
<td class="part-6">6</td>
</tr>

<tr>
<td class="part-7">7</td>
<td class="part-8">8</td>
<td class="part-9"><span>9</span></td>
</tr>
</table>
</div>
</body>
</html>
35 changes: 35 additions & 0 deletions 전병주/project2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
* {
box-sizing: border-box;
}

body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

.container {
display: flex;
justify-content: center;
align-items: center;
border: 1px solid gray;
}

.box {
background-color: white;
padding: 20px;
border-radius: 8px;
width: 300px;
}

.byeongju {
padding-top: 10px;
margin-bottom: 10px;
font-size: 18px;
}

span {
color: blue;
}
23 changes: 23 additions & 0 deletions 전병주/project2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="project2.css" />
<title>project2</title>
</head>
<body>
<div class="container">
<div class="box">
<div class="byeongju">
<span><strong>학번</strong></span
>: 202114128
</div>
<div class="byeongju">
<span><strong>이름</strong></span
>: 전병주
</div>
</div>
</div>
</body>
</html>
169 changes: 169 additions & 0 deletions 전병주/project3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

span {
color: blue;
font-weight: bold;
margin: 7px;
}

p {
margin-bottom: 3px;
}
.main {
position: absolute;
display: flex;
flex-direction: column;
justify-content: center;
width: 400px;
height: 130px;
border: 1px solid black;
padding: 10px;
z-index: 0;
}

.table {
position: relative;
display: table;
width: 150px;
height: 150px;
cursor: pointer;
z-index: 1;
top: 60px;
left: 60px;
background-color: white;
box-shadow: 10px 10px 5px gray;
}

.row-1 {
display: table-rows;
}

.row-2 {
display: table-rows;
}

.row-3 {
display: table-rows;
}

.A-1 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
padding-top: 13px;
cursor: pointer;
}
.A-2 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
}
.A-3 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
}

.B-1 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
padding-top: 13px;
cursor: pointer;
}
.B-2 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
}
.B-3 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
}

.C-1 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
padding-top: 13px;
}
.C-2 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
}
.C-3 {
display: table-cell;
border: 1px solid black;
width: 50px;
height: 50px;
text-align: center;
}

table {
border-collapse: collapse;
}

.A-1:hover {
background-color: red;
}

.A-2:hover {
background-color: blue;
}

.A-3:hover {
background-color: green;
}

.B-1:hover {
background-color: yellow;
}

.B-2:hover {
background-color: orange;
}

.B-3:hover {
background-color: blueviolet;
}

.C-1:hover {
background-color: aqua;
}

.C-2:hover {
background-color: darkblue;
}

.C-3:hover {
background-color: coral;
}
32 changes: 32 additions & 0 deletions 전병주/project3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>project3</title>
<link rel="stylesheet" href="project3.css" />
</head>
<body>
<div class="main">
<p><span>학번 : </span>202114128</p>
<p><span>이름 : </span>전병주</p>
</div>
<div class="table">
<div class="row-1">
<div class="A-1">1</div>
<div class="A-1">2</div>
<div class="A-1">3</div>
</div>
<div class="row-2">
<div class="B-1">4</div>
<div class="B-2">5</div>
<div class="B-3">6</div>
</div>
<div class="row-3">
<div class="C-1">7</div>
<div class="C-2">8</div>
<div class="C-3">9</div>
</div>
</div>
</body>
</html>
52 changes: 52 additions & 0 deletions 전병주/project4.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}

div {
position: relative;
}

table {
border-collapse: collapse;
}

table td[colspan] {
padding-left: 5px;
text-align: left;
}

table td[rowspan] {
padding-top: 30px;
vertical-align: top;
}

td {
border: 1px solid black;
width: 80px;
height: 80px;
text-align: center;
}

.row {
background-color: bisque;
}

.col {
background-color: aquamarine;
}

#box1 {
z-index: -1;
left: 10px;
top: 20px;
}

#box2 {
z-index: 1;
left: 80px;
top: 40px;
}
Loading