๋ธ๋ก๊ทธ ์นดํ ๊ณ ๋ฆฌ ํ์ด์ง ๋์์ธ ์์ 4๊ฐ์ง์ HTML ์ฝ๋ ๊ณต์
์นดํ ๊ณ ๋ฆฌ ํ์ด์ง๋ ๋ธ๋ก๊ทธ์ ์ฒซ์ธ์์ ๊ฒฐ์ ์ง๋ ํต์ฌ ์์์ ๋๋ค. ํนํ ํฐ์คํ ๋ฆฌ๋ ์๋ํ๋ ์ค์ฒ๋ผ ์ฝํ ์ธ ์ค์ฌ ํ๋ซํผ์์๋ ์นดํ ๊ณ ๋ฆฌ์ ๊ตฌ์กฐ์ ๋์์ธ๋ง์ผ๋ก๋ ๋ฐฉ๋ฌธ์์ ํด๋ฆญ๋ฅ ๊ณผ ์ฒด๋ฅ ์๊ฐ์ ์ข์ฐํ ์ ์์ต๋๋ค. ์ด๋ฒ ํฌ์คํธ์์๋ ์ฌ๋ฏธ์ฑ, UX(์ฌ์ฉ์ ๊ฒฝํ), ๋ชจ๋ฐ์ผ ๋์์ฑ์ ๋ชจ๋ ๊ฐ์ถ ์ด์ 4๊ฐ์ง ์คํ์ผ์ ์นดํ ๊ณ ๋ฆฌ ๋์์ธ์ ์๊ฐํ๊ณ , ๋ฐ๋ก ํ์ฉ ๊ฐ๋ฅํ HTML ์ฝ๋ ํ ํ๋ฆฟ์ ํจ๊ป ์ ๊ณตํฉ๋๋ค.
๋ฐ์ํ ๋ธ๋ก๊ทธ ์นดํ ๊ณ ๋ฆฌ ํ ํ๋ฆฟ ์ฝ๋ ๋ชจ์
์นดํ ๊ณ ๋ฆฌ ๋์์ธ์ ์์
์นดํ ๊ณ ๋ฆฌ ํ์ด์ง๋ ๋จ์ํ ๊ธ ๋ชฉ๋ก์ ๋์ดํ๋ ๊ณต๊ฐ์ด ์๋๋๋ค. ๋ ์์๊ฒ ์ฝํ ์ธ ํ๋ฆ์ ์๋ดํ๋ ๋ค๋น๊ฒ์ด์ ํ๋ธ์ด์, ์ ์ฒด ๋ธ๋ก๊ทธ ๋ธ๋๋ฉ์ ์์ฑํ๋ ์๊ฐ์ ์์์ ๋๋ค. ์นดํ ๊ณ ๋ฆฌ ํ์ด์ง๋ฅผ ์ค๊ณํ ๋ ๋ค์๊ณผ ๊ฐ์ ์์๋ค์ด ํต์ฌ์ ๋๋ค:
- ์ธ๋ค์ผ ์ด๋ฏธ์ง์ ํ ์คํธ์ ๊ท ํ๊ฐ ์๋ ๋ฐฐ์น
- PC/๋ชจ๋ฐ์ผ ๋ชจ๋ ๋์ ๊ฐ๋ฅํ ๋ฐ์ํ ๊ตฌ์กฐ
- ์นดํ ๊ณ ๋ฆฌ๋ช , ๋ฐํ์ผ, ์์ฝ ์ค๋ช ๋ฑ์ ์ ๋ณด ์ ๋ฌ
- ์๊ฐ์ ์ผ๊ด์ฑ๊ณผ ๋ค์ํ ์ฝํ ์ธ ์คํ์ผ ์์ฉ
๊ธฐ๋ณธ HTML ๊ตฌ์กฐ
์๋ ์ฝ๋๋ ๋ค์ํ ์คํ์ผ์ ์ ์ฉํ๊ธฐ ์ํ ๊ธฐ๋ณธ HTML ๊ตฌ์กฐ์ ๋๋ค.
์์ | ์ค๋ช |
---|---|
์ธ๋ค์ผ | ์ด๋ฏธ์ง๋ก ์๊ฐ์ ํฅ๋ฏธ ์ ๋ |
์ ๋ชฉ | ํ๋์ ๋ค์ด์ค๋ ํฌ๊ธฐ์ ๋๊ป๋ก ๊ฐ์กฐ |
์์ฝ๊ธ | ํด๋ฆญ ์ ๊ธ ๋ด์ฉ์ ๋ฏธ๋ฆฌ ์ ๋ฌ |
๋ ์ง / ์นดํ ๊ณ ๋ฆฌ | ์ ๋ณด ์ ๋ฌ ๋ฐ ์ ๋ขฐ๋ ๊ฐํ |
๋ฐ์ํ ๊ตฌ์กฐ | ๋ชจ๋ฐ์ผ/ํ๋ธ๋ฆฟ์์๋ ์์ฐ์ค๋ฝ๊ฒ ํ์๋จ |
์๋ ์ฝ๋๋ ์คํ์ผ๋ณ ๋ฐ๋ณต ๊ฐ๋ฅํ ๊ธฐ๋ณธ ๊ตฌ์กฐ์ ๋๋ค.
<div class="post-item">
<a
href="<!-- ๋ธ๋ก๊ทธ ๊ธ ๋งํฌ [##_article_rep_link_##-1] -->"
data-tiara-action-name="๋ธ๋ก๊ทธ๊ธ_ํด๋ฆญ"
data-tiara-action-kind="ClickContent"
data-tiara-copy="<!-- ๊ธ ์ ๋ชฉ [##_article_rep_title_text_##-1] -->"
data-tiara-image="<!-- ์ธ๋ค์ผ URL [##_article_rep_thumbnail_url_##-1] -->"
data-tiara-click_url="<!-- ๋ธ๋ก๊ทธ ์ฃผ์ + ๊ธ ๋งํฌ https://everydayhub.tistory.com/[##_article_rep_link_##-1] -->"
data-tiara-name="<!-- ๊ธ ์ ๋ชฉ -->"
data-tiara-provider="<!-- ๋ธ๋ก๊ทธ ์ด๋ฆ ๐ฟ์ผ์ํ๋ธ-์์ฌ.์ ์น .SEO -->"
data-tiara-plink="<!-- ๊ธ ๋งํฌ /613 -->"
data-tiara-id="<!-- ๊ธ ID ๋๋ ๋งํฌ [##_article_rep_li-1nk_##-1] -->">
<div class="split-layout">
<div class="text-box">
<span class="category">DESIGN</span>
<p class="title">๊ธ ์ ๋ชฉ ์์ญ (ex. [##_article_rep_title_##-1])</p>
<p class="excerpt">๊ธ ์์ฝ ์์ญ (ex. [##_article_rep_summary_##-1])</p>
</div>
<div class="thum">
<!-- ์ธ๋ค์ผ ์ด๋ฏธ์ง -->
<img
loading="lazy"
src="https://via.placeholder.com/230x129.webp?text=Thumbnail-1"
alt="์ธ๋ค์ผ ์์">
</div>
</div>
<div class="meta">
<span class="date">๋ ์ง ์์ญ (ex. [##_article_rep_simple_date_##-1])</span>
</div>
</a>
</div>
์ div.post-item์ ๋ฐ๋ณต ๊ตฌ์กฐ์ด๋ฉฐ, ์คํ์ผ๋ณ ๊ตฌ๋ถ์ CSS์์ nth-child() ๋๋ ๋ณ๋ ํด๋์ค(style-1, style-2 ๋ฑ)๋ก ์ ์ดํ ์ ์์ต๋๋ค.
๊ณตํต CSS
๋ ์ ๊ตํ ์คํ์ผ์ ๋ณธ๋ฌธ์ ์๊ฐ๋ ์ ์ฒด CSS ์ฝ๋๋ฅผ ํ์ธํ๊ฑฐ๋, ์ง์ ์ปค์คํฐ๋ง์ด์ง ํ์๋ฉด ๋ฉ๋๋ค.
<style>
:root {
--primary: #FF5E5B;
--secondary: #00CECB;
--dark: #2D3047;
--light: #F5F5F5;
--gray: #939393;
}
.posts-container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
font-family: 'Spoqa Han Sans', sans-serif;
}
/* ๊ณตํต ์คํ์ผ */
.post-item {
margin-bottom: 3rem;
position: relative;
overflow: hidden;
border-radius: 16px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: transform 0.4s, box-shadow 0.4s;
}
.post-item:hover {
transform: translateY(-8px);
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.thum img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.post-item:hover .thum img {
transform: scale(1.03);
}
.title {
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 0.8rem;
line-height: 1.3;
}
.excerpt {
font-size: 1rem;
color: var(--gray);
line-height: 1.6;
margin-bottom: 1.2rem;
}
.category {
display: inline-block;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 1px;
color: var(--primary);
margin-bottom: 0.5rem;
text-transform: uppercase;
}
.meta {
font-size: 0.9rem;
color: var(--gray);
}
</style>
๋ฐ์ํ ๋ธ๋ก๊ทธ ์นดํ ๊ณ ๋ฆฌ ํ ํ๋ฆฟ ์ฝ๋ ์์
์คํ์ผ 1 ํ ์ด๋ฏธ์ง + ํ ์คํธ ์ค๋ฒ๋ ์ด
- ์ค๋ช : ์ธ๋ค์ผ ์ ์ฒด๋ฅผ ๋ฐฐ๊ฒฝ ์ผ์, ํ๋จ์ ํ ์คํธ๋ฅผ ๋ง์์ด ํํ.
- ํ์ฉ ๋ถ์ผ: ์ฌํ, ํจ์ , ๊ฑด์ถ ๋ฑ ์๊ฐ์ ๊ฐ์ ์ด ์๋ ์ฝํ ์ธ ์ ์ ํฉ.
- ์ฃผ์ CSS
.post-item:nth-child(4n+1) {
height: 500px;
}
.post-item:nth-child(4n+1) .thum {
height: 100%;
}
.post-item:nth-child(4n+1) .text-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 3rem;
background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
color: white;
}
.post-item:nth-child(4n+1) .title {
color: white;
font-size: 2.2rem;
}
.post-item:nth-child(4n+1) .excerpt {
color: rgba(255,255,255,0.8);
}
.post-item:nth-child(4n+1) .meta {
position: absolute;
top: 2rem;
right: 2rem;
color: white;
}
์คํ์ผ 2 – ์ข์ธก ํ ์คํธ + ์ฐ์ธก ์ด๋ฏธ์ง ๋ถํ
- ์ค๋ช : flex๋ฅผ ํ์ฉํ 2๋จ ๋ถํ ๋ ์ด์์.
- ํ์ฉ ๋ถ์ผ: ๋์์ธ, ์ธํฐ๋ทฐ, ์นผ๋ผ ๋ฑ ํ ์คํธ ์ค์ฌ ์ฝํ ์ธ .
- ์ฃผ์ CSS
/* ์คํ์ผ 2: ์ข์ธก ํ
์คํธ + ์ฐ์ธก ์ด๋ฏธ์ง */
.post-item:nth-child(4n+2) .split-layout {
display: flex;
height: 400px;
}
.post-item:nth-child(4n+2) .text-box {
flex: 1;
padding: 3rem;
display: flex;
flex-direction: column;
justify-content: center;
}
.post-item:nth-child(4n+2) .thum {
flex: 1;
}
.post-item:nth-child(4n+2) .category {
margin-bottom: 1rem;
}
Minimalist Poster Design
์ต์ํ์ ์์๋ก ๊ฐ๋ ฌํ ๋ฉ์์ง๋ฅผ ์ ๋ฌํ๋ ๋ฐฉ๋ฒ

์คํ์ผ 3 – ๋ฐฐ๊ฒฝ ์ด๋ฏธ์ง + ์ฐ์ธก ํ ์คํธ ๋ฐ์ค
- ์ค๋ช : ์ด๋ฏธ์ง ์์ ๋ฐ์ค ํํ ํ ์คํธ๊ฐ ๋ ์๋ ๊ตฌ์กฐ.
- ํ์ฉ ๋ถ์ผ: ๋ผ์ดํ์คํ์ผ, ํ๋ ์๊ฐ, ๋ธ๋๋ ์ฝํ ์ธ ๋ฑ.
- ์ฃผ์ CSS
/* ์คํ์ผ 3: ์ด๋ฏธ์ง ๋ฐฐ๊ฒฝ + ์ฐ์ธก ํ
์คํธ */
.post-item:nth-child(4n+3) {
height: 450px;
}
.post-item:nth-child(4n+3) .thum {
height: 100%;
}
.post-item:nth-child(4n+3) .text-box {
position: absolute;
top: 50%;
right: 3rem;
transform: translateY(-50%);
background: #101743;
padding: 2.5rem;
width: 40%;
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}
.post-item:nth-child(4n+3) .meta {
position: absolute;
bottom: 2rem;
left: 2rem;
color: white;
z-index: 2;
}

Mountain Adventure
์์ฐ๊ณผ ํจ๊ปํ๋ ์ฐ์ ์กํฐ๋นํฐ ๊ฐ์ด๋
![]() |
![]() |
์คํ์ผ 4 – ํ ์คํธ ์ค์ฌ + ์ด๋ฏธ์ง ๊ทธ๋ฆฌ๋
- ์ค๋ช : ํ ์คํธ๋ฅผ ์ค์ฌ์ ๋ฐฐ์นํ๊ณ , ์ธ๋ค์ผ ์ด๋ฏธ์ง๋ฅผ ๊ทธ๋ฆฌ๋ ํ์์ผ๋ก ๊ตฌ์ฑ.
- ํ์ฉ ๋ถ์ผ: ํํ ๋ฆฌ์ผ, ์ธ๋ฌผ์ฌ์ง, ํฌํ ๋ฆฌ์คํธ ์ฝํ ์ธ .
- ์ฃผ์ CSS
/* ์คํ์ผ 4: ํ
์คํธ ์ค์ + ์ด๋ฏธ์ง ๊ทธ๋ฆฌ๋ */
.post-item:nth-child(4n+4) {
padding: 3rem;
text-align: center;
}
.post-item:nth-child(4n+4) .thum-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
margin: 2rem 0;
}
.post-item:nth-child(4n+4) .meta {
text-align: center;
}
Portrait Techniques
์ธ๋ฌผ ์ฌ์ง์ ๊ฐ์ฑ์ ์ด๋ฆฌ๋ 10๊ฐ์ง ๊ธฐ์
์นดํ ๊ณ ๋ฆฌ ๋์์ธ์ ๋จ์ํ '๋ชฉ๋ก ๋ณด๊ธฐ'๊ฐ ์๋, ์ฝํ ์ธ ์ ๋ํ ์ฒซ ์ ๋ขฐ๋ฅผ ํ์ฑํ๋ ์ฅ์น์ ๋๋ค. ์ด ํฌ์คํ ์์ ์๊ฐํ 4๊ฐ์ง ์คํ์ผ์ ์ ์ฉํด ๋ธ๋ก๊ทธ๋ฅผ ๋ณด๋ค ์ธ๋ จ๋๊ณ ์ง๊ด์ ์ผ๋ก ๋ง๋ค์ด ๋ณด์ธ์.