프런트엔드-HTML

HTML 구조 설계

강사: 최퍼블리셔 · 작성자: 이종춘 · 작성일: 2026-06-15 23:09:51 · 조회수: 5

샘플10 = 포트폴리오 사이트형
목록으로
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>포트폴리오 사이트 샘플</title>

<style>
*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, sans-serif;
color:#111;
background:#f7f7f7;
}

a{
text-decoration:none;
color:inherit;
}

.wrap{
max-width:1200px;
width:100%;
margin:0 auto;
padding:0 20px;
}

/* Header */
.header{
height:80px;
background:#fff;
border-bottom:1px solid #eee;
}

.header .wrap{
height:80px;
display:flex;
justify-content:space-between;
align-items:center;
}

.logo{
font-size:26px;
font-weight:800;
color:#111;
}

.menu{
display:flex;
gap:40px;
}

.menu a{
font-size:16px;
font-weight:700;
}

/* Hero */
.hero{
padding:110px 0;
background:#111;
color:white;
}

.hero .wrap{
display:flex;
justify-content:space-between;
align-items:center;
gap:50px;
}

.hero_text{
width:55%;
}

.hero_text span{
display:inline-block;
margin-bottom:20px;
color:#8cffc1;
font-weight:800;
}

.hero_text h1{
font-size:58px;
line-height:1.2;
margin-bottom:25px;
}

.hero_text p{
font-size:18px;
line-height:1.8;
color:#ccc;
margin-bottom:35px;
}

.btn{
display:inline-block;
padding:16px 34px;
background:#8cffc1;
color:#111;
border-radius:8px;
font-weight:800;
}

.hero_profile{
width:45%;
height:380px;
background:linear-gradient(135deg,#8cffc1,#4ba3ff);
border-radius:30px;
display:flex;
justify-content:center;
align-items:center;
color:#111;
font-size:42px;
font-weight:800;
}

/* Section */
.section{
padding:90px 0;
}

.section_title{
text-align:center;
margin-bottom:50px;
}

.section_title h2{
font-size:38px;
margin-bottom:15px;
}

.section_title p{
color:#666;
font-size:17px;
}

/* Project */
.project_wrap{
display:flex;
gap:30px;
}

.project_card{
width:calc(100% / 3);
background:white;
border-radius:24px;
overflow:hidden;
box-shadow:0 12px 30px rgba(0,0,0,.08);
transition:.3s;
}

.project_card:hover{
transform:translateY(-10px);
}

.project_img{
height:250px;
background:#ddd;
}

.project_img img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}

.project_text{
padding:30px;
}

.project_text h3{
font-size:24px;
margin-bottom:12px;
}

.project_text p{
font-size:15px;
line-height:1.7;
color:#666;
margin-bottom:20px;
}

.tag_wrap{
display:flex;
flex-wrap:wrap;
gap:8px;
}

.tag{
padding:7px 12px;
background:#f0f0f0;
border-radius:30px;
font-size:13px;
font-weight:700;
}

/* Skill */
.skill{
background:#fff;
padding:90px 0;
}

.skill_wrap{
display:flex;
gap:30px;
}

.skill_box{
width:calc(100% / 4);
padding:35px 20px;
background:#f7f7f7;
border-radius:22px;
text-align:center;
transition:.3s;
}

.skill_box:hover{
background:#111;
color:white;
}

.skill_box h3{
font-size:24px;
margin-bottom:12px;
}

.skill_box p{
color:#666;
line-height:1.6;
}

.skill_box:hover p{
color:#ccc;
}

/* Footer */
.footer{
height:100px;
background:#111;
color:white;
display:flex;
justify-content:center;
align-items:center;
}

/* Mobile */
@media(max-width:768px){

.header{
height:auto;
padding:20px 0;
}

.header .wrap{
height:auto;
flex-direction:column;
gap:20px;
}

.menu{
gap:20px;
flex-wrap:wrap;
justify-content:center;
}

.hero{
padding:80px 0;
}

.hero .wrap{
flex-direction:column;
}

.hero_text,
.hero_profile{
width:100%;
}

.hero_text h1{
font-size:38px;
}

.hero_profile{
height:280px;
font-size:34px;
}

.project_wrap{
flex-direction:column;
}

.project_card{
width:100%;
}

.skill_wrap{
flex-direction:column;
}

.skill_box{
width:100%;
}
}
</style>
</head>

<body>

<header class="header">
<div class="wrap">

<div class="logo">PORTFOLIO</div>

<nav class="menu">
<a href="#">About</a>
<a href="#">Project</a>
<a href="#">Skill</a>
<a href="#">Contact</a>
</nav>

</div>
</header>

<section class="hero">
<div class="wrap">

<div class="hero_text">
<span>WEB PUBLISHER PORTFOLIO</span>

<h1>
사용자 경험을 생각하는<br>
웹 퍼블리셔
</h1>

<p>
Figma 디자인을 기반으로 HTML, CSS, JavaScript를 활용해
반응형 웹사이트를 구현합니다.
</p>

<a href="#" class="btn">프로젝트 보기</a>
</div>

<div class="hero_profile">
CURSAMAN
</div>

</div>
</section>

<section class="section">
<div class="wrap">

<div class="section_title">
<h2>Projects</h2>
<p>디자인과 퍼블리싱을 연결한 실습 프로젝트입니다.</p>
</div>

<div class="project_wrap">

<div class="project_card">
<div class="project_img">
<img src="https://images.unsplash.com/photo-1498050108023-c5249f4df085" alt="기업형 사이트">
</div>

<div class="project_text">
<h3>기업형 B2B 사이트</h3>
<p>
Header, Hero, Card, Footer 구조를 기반으로
기업형 랜딩페이지를 구현했습니다.
</p>

<div class="tag_wrap">
<span class="tag">HTML</span>
<span class="tag">CSS</span>
<span class="tag">Responsive</span>
</div>
</div>
</div>

<div class="project_card">
<div class="project_img">
<img src="https://images.unsplash.com/photo-1535131749006-b7f58c99034b" alt="골프 사이트">
</div>

<div class="project_text">
<h3>골프 예약 사이트</h3>
<p>
골프장 소개, 코스 카드, 예약 CTA를 구성한
반응형 사이트 샘플입니다.
</p>

<div class="tag_wrap">
<span class="tag">Figma</span>
<span class="tag">Publishing</span>
<span class="tag">UI</span>
</div>
</div>
</div>

<div class="project_card">
<div class="project_img">
<img src="https://images.unsplash.com/photo-1516321318423-f06f85e504b3" alt="교육 사이트">
</div>

<div class="project_text">
<h3>교육 플랫폼 사이트</h3>
<p>
강의 카드와 후기 섹션을 활용한
교육 서비스형 웹페이지입니다.
</p>

<div class="tag_wrap">
<span class="tag">Card UI</span>
<span class="tag">Flex</span>
<span class="tag">Hover</span>
</div>
</div>
</div>

</div>

</div>
</section>

<section class="skill">
<div class="wrap">

<div class="section_title">
<h2>Skills</h2>
<p>웹퍼블리싱 작업에 활용하는 핵심 기술입니다.</p>
</div>

<div class="skill_wrap">

<div class="skill_box">
<h3>HTML</h3>
<p>시맨틱 구조와 웹페이지 기본 구조 작성</p>
</div>

<div class="skill_box">
<h3>CSS</h3>
<p>레이아웃, 반응형, hover 인터랙션 구현</p>
</div>

<div class="skill_box">
<h3>JavaScript</h3>
<p>클릭 이벤트와 간단한 UI 제어 구현</p>
</div>

<div class="skill_box">
<h3>Figma</h3>
<p>UI 시안 제작과 컴포넌트 정리</p>
</div>

</div>

</div>
</section>

<footer class="footer">
COPYRIGHT 2026. CURSAMAN PORTFOLIO. ALL RIGHTS RESERVED.
</footer>

</body>
</html>
#샘플10 = 포트폴리오 사이트형

첨부 파일

0개
첨부된 파일이 없습니다.

댓글 / 답글

0개
댓글을 작성하려면 로그인하세요.
아직 댓글이 없습니다.