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
91 changes: 91 additions & 0 deletions home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<!DOCTYPE html>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

화이팅

<html lang="ko">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ㅎㅇㅎㅇ~

<head>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

안뇽

<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/c215d26fd2.js" crossorigin="anonymous"></script>
</head>
<body>
<div id="all">
<header></header>
<main>
<div id="top">My Profle</div>
<div id="container">
<section id="profile_section">
<p>
<span class="section_title">[내 프로필]</span><br>
이름 : 김민지<br>
포지션 : 프론트엔드<br>
학과 : 커뮤니케이션학과<br>
생년월일 : 1999.04.28
</p>
</section>
<section id="mbti_section">
<div class="black_cover"></div>
<p>
<span class="section_title">[MBTI]</span><br>
ISFJ<br>
용감한 수호자<br>
나도 날 잘 몰라
</p>
</section>
<section id="food_section">
<p>
<span class="section_title">[좋아하는 음식]</span><br>
초밥<br>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

나도 초밥 진짜 좋아해!

피자<br>
라면<br>
오렌지<br>
</p>
</section>
<section id="movie_section">
<div class="black_cover"></div>
<p>
<span class="section_title">[인생 영화]</span><br>
스파이더맨 : 노 웨이 홈
</p>
</section>
<section id="music_section">
<p>
<span class="section_title">[요즘 자주 듣는 노래]</span><br>
윤하 - 사건의 지평선
</p>
</section>
<section id="animal_section">
<div class="black_cover"></div>
<p>
<span class="section_title">[반려동물/식물]</span><br>
없습니당...
</p>
</section>
</div>
<aside>
<div id="team">
<p>
디버깅 3조에는 <span style="color:rgb(191, 207, 246)">ENTJ</span>가 세명이다.<br>
건화는 <span style="color:rgb(255, 226, 191)">소주가 아닌 맥주파</span>이다.<br>
선명이는 메탈리카, 뮤즈 등 <span style="color:rgb(191, 207, 246)">락광팬</span>이다
</p>
</div>
<div id="hi">
<p>
서강 멋사 짱! ><
</p>
</div>
</aside>
</main>
<footer>
<a href="https://www.instagram.com/mjkim428/">
<i class="fa-brands fa-instagram"></i>
<span>@mjkim428</span>
</a>
</footer>
</div>
<div id="alert">
화면 크기를 늘려주세요🥰
</div>
</body>
</html>
200 changes: 200 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
@import url('https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&family=Nanum+Brush+Script&family=Yeon+Sung&display=swap');

* {
box-sizing: border-box;
margin: 0;
font-family: 'Yeon Sung', cursive;
}

body {
background-color: #f8f8f8;
}

header {
height: 40px;
background-color: #333;
}

main {
height: 600px;
width: 750px;
margin: 0 auto;
background-color: #f8f8f8;
}

#top {
height: 35px;
background-color: rgb(246, 157, 172);
margin-bottom: 25px;
border-radius: 0 0 10px 10px;
color: white;
font-size: 18px;
text-align: center;
line-height: 35px;
}

#container {
height: 410px;
padding: 10px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

aside {
height: 110px;
background-color: #f8f8f8;
margin: 0 15px 60px 15px;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-content: space-around;
}

section {
height: 45%;
width: 30%;
background-color: white;
border-radius: 7px;
color: #626262;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
text-align: center;
position: relative;
}

@keyframes ani-hover {
0% {
transform: translate(0, 0);
}
100% {
transform: translate(0, -10px);
}
}

@keyframes ani-back {
0% {
transform: translate(0, -10px);
}
100% {
transform: translate(0, 0);
}
}

section:hover {
animation: ani-hover 0.5s;
animation-fill-mode: forwards;
cursor: pointer;
}

section:not(:hover) {
animation: ani-back 0.7s;
animation-fill-mode: forwards;
}

.black_cover {
position: absolute;
width: 100%;
height: 100%;
background-color: black;
opacity: 0.5;
}

section p {
position: relative;
}

.section_title {
color: rgb(246, 157, 172);
font-size: 22px;
}

#mbti_section {
position: relative;
background: url("isfj배경.png") no-repeat;
background-size: cover;
color: white;
}

#movie_section {
background: url("영화배경.jpg") no-repeat;
background-size: cover;
color: white;
}

#animal_section {
background: url("강아지배경.jpg") no-repeat;
background-size: cover;
color: white;
}

#team {
width: 470px;
height: 100%;
background-color: #26898c;
color: white;
border-radius: 5px;
font-size: 15px;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
text-align: center;
}

#hi {
width: 230px;
height: 100%;
background-color: rgb(246, 157, 172);
border-radius: 5px;
font-size: 15px;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
text-align: center;
}

footer {
height: 80px;
background-color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 13px;
text-align: center;
}

a {
color: white;
padding: 10px;
border-radius: 10px;
text-decoration: none;
background-color: #adadad;
}

a:hover {
background-color: rgb(246, 157, 172);
}

#alert {
display: none;
}

@media (max-width: 750px) {
#alert {
display: block;
font-size: 30px;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
color: #333;
}
#all {
display: none;
}
}