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
97 changes: 97 additions & 0 deletions 반응형 그리드/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
body {
margin: 0;
}

#div1 {
width: 100%;
background-color: #FF0000;
height: 60px;
}

#div2 {
width: 100%;
background-color: #FFA500;
height: 350px;
}

#div3 {
width: 100%;
background-color: #FFFF00;
height: 320px;
}

#div4 {
width: 100%;
background-color: #008000;
height: 385px;
}

#div5 {
width: 100%;
background-color: #0000FF;
height: 200px;
}

#div6 {
width: 100%;
background-color: #4B0082;
height: 200px;
}

@media (min-width: 768px) {
div {
float: left;
}

#div2 {
height: 562px;
}

#div3 {
height: 282px;
}

#div4 {
width: 50%;
height: 360px;
}

#div5 {
width: 50%;
height: 180px;
}

#div6 {
width: 50%;
height: 180px;
}

}

@media (min-width: 992px) {
#div2 {
width: 50%;
height: 700px;
}

#div3 {
width: 50%;
height: 350px;
}

#div4 {
width: 25%;
height: 350px;
}

#div5 {
width: 25%;
height: 175px;
}

#div6 {
width: 25%;
height: 175px;
}

}
19 changes: 19 additions & 0 deletions 반응형 그리드/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>

<head>
<title>반응형 그리드</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/styles.css">
</head>

<body>
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
<div id="div4"></div>
<div id="div5"></div>
<div id="div6"></div>
</body>

</html>
157 changes: 157 additions & 0 deletions 이노/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
body {
margin: 0;
font-family: 'Roboto', sans-serif;
}

.title {
font-size: 20px;
background-color: #353535;
color: white;
width: 100%;
height: 60px;
padding-left: 30px;
padding-top: 30px;
padding-right: 30px;
}

.banner {
width: 100%;
height: 350px;
background-image: url('../images/banner_img.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}

.explain {
width: 100%;
height: 320px;
background-color: white;
display: flex;
justify-content: start;
align-items: center;
}

.explain .explain-container {
padding-left: 30px;
padding-right: 30px;
}

.explain h3 {
font-size: 16px;
color: #4a4a4a;
}


.explain h2 {
font-size: 20px;
color: #1b1b1b;
margin-top: 10px;
margin-bottom: 30px;
}

.explain p {
font-size: 16px;
color: #7a7a7a;
margin: 0;
}

.img1 {
width: 100%;
height: 385px;
background-image: url('../images/img1.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
}

.img2 {
width: 100%;
height: 200px;
background-image: url('../images/img2.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
display: flex;
justify-content: center;
align-items: center;
}

.img2 .view {
color: white;
font-weight: bold;
border: 4px solid white;
padding: 9px 40px;
}

.img3 {
width: 100%;
height: 200px;
background-image: url('../images/img3.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center top;
}



@media (min-width: 768px) {
.item {
float: left;
}

.banner {
height: 562px;
}

.explain {
height: 282px;
}

.explain .explain-container {
padding-left: 65px;
padding-right: 65px;
}

.img1 {
width: 50%;
height: 360px;
}

.img2 {
width: 50%;
height: 180px;
}

.img3 {
width: 50%;
height: 180px;
}
}

@media (min-width: 992px) {
.banner {
width: 50%;
height: 700px;
}

.explain {
width: 50%;
height: 350px;
}

.img1 {
width: 25%;
height: 350px;
}

.img2 {
width: 25%;
height: 175px;
}

.img3 {
width: 25%;
height: 175px;
}
}
Binary file added 이노/images/banner_img.jpg
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 이노/images/img1.jpg
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 이노/images/img2.jpg
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 이노/images/img3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions 이노/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<title>IN'O</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/styles.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
</head>
<body>
<div class="title">IN'O</div>
<div class="banner item"></div>
<div class="explain item">
<div class="explain-container">
<h3>Portfolio</h3>
<h2>Make Hardware Soft</h2>
<p>IN'O is a hanger-type bluetooth speaker that does not merely focus on its audio features. It naturally blends into your life through lean UX and minimal design.</p>
</div>
</div>
<div class="img1 item"></div>
<div class="img2 item">
<div class="view">VIEW MORE</div>
</div>
<div class="img3 item"></div>
</body>
</html>
Loading