프런트엔드-CSS

CSS 스타일링

강사: 최퍼블리셔 · 작성자: 이종춘 · 작성일: 2026-04-14 16:16:42 · 조회수: 14

스타일시트 요리엔 전체페이지 구성 설명
목록으로
<!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;
}

ul, li{
list-style: none;
}

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

img{
vertical-align: top;
}

body{
font-family: Arial, "맑은 고딕", sans-serif;
color: #333;
}

/* =========================
float 해제용 clearfix
========================= */
.cf:after{
content: "";
display: block;
clear: both;
}

/* =========================
메인 비주얼 영역
========================= */
.main_visual{
width: 100%;
height: 100vh;
min-height: 950px;
background: url("main.jpg") no-repeat center center / cover;
position: relative;
}

/* =========================
헤더 영역
========================= */
header{
width: calc(100% - 120px);
height: 90px;
padding: 0 35px;
background-color: rgba(183, 160, 147, 0.55);
border-radius: 14px;
position: absolute;
top: 28px;
left: 60px;
z-index: 10;
}

/* 로고 영역 */
.logo{
float: left;
height: 90px;
line-height: 90px;
}

.logo a{
display: block;
}

.logo img{
height: 38px;
vertical-align: middle;
}

/* 메인 메뉴 중앙 배치 */
.menu_wrap{
position: absolute;
top: 0;
left: 50%;
margin-left: -205px;
}

/* 메뉴 가로 정렬 */
.menu_wrap li{
float: left;
margin: 0 28px;
line-height: 90px;
font-size: 18px;
font-weight: 700;
}

.menu_wrap li a{
color: #fff;
}

.menu_wrap li a:hover{
color: #f3e6dc;
text-decoration: underline;
}

/* 우측 유틸 메뉴 */
.util_menu{
float: right;
padding-top: 10px;
}

.cs_text{
text-align: right;
font-size: 13px;
margin-bottom: 10px;
}

.cs_text a{
color: #fff;
}

.cs_text a:hover{
text-decoration: underline;
}

/* 로그인 / 마이페이지 / 장바구니 */
.util_icon{
float: right;
}

.util_icon li{
float: left;
margin-left: 22px;
position: relative;
line-height: 1;
}

.util_icon li a{
display: block;
color: #fff;
font-size: 22px;
line-height: 22px;
}

.util_icon li a:hover{
color: #f3e6dc;
}

/* 장바구니 수량 표시 */
.cart_count{
width: 18px;
height: 18px;
border-radius: 50%;
background-color: #59d7de;
color: #fff;
font-size: 11px;
text-align: center;
line-height: 18px;
position: absolute;
top: -8px;
right: -10px;
}

/* =========================
좌우 화살표
========================= */
.arrow_left,
.arrow_right{
position: absolute;
top: 52%;
transform: translateY(-50%);
z-index: 5;
color: #fff;
font-size: 90px;
font-weight: 200;
line-height: 1;
cursor: pointer;
}

.arrow_left{
left: 42px;
}

.arrow_right{
right: 42px;
}

/* =========================
메인 문구 영역
========================= */
.text_box{
position: absolute;
left: 92px;
bottom: 115px;
color: #fff;
z-index: 5;
}

.text_box h2{
font-size: 64px;
font-weight: 700;
letter-spacing: -2px;
line-height: 1.2;
margin-bottom: 34px;
}

.text_box p{
font-size: 18px;
font-weight: 500;
line-height: 1.8;
}

/* =========================
첫 번째 브랜드 섹션
========================= */
.brand_section{
padding: 80px 0;
}

/* 가운데 정렬용 공통 박스 */
.inner{
width: 1400px;
margin: 0 auto;
}

/* 섹션 제목 영역 */
.brand_title{
margin-bottom: 40px;
}

.brand_title h2{
font-size: 34px;
margin-bottom: 12px;
}

.brand_title p{
font-size: 16px;
color: #666;
line-height: 1.7;
}

/* 카드 묶음 */
.card_wrap{
width: 100%;
}

/* 4단 카드 */
.brand_card{
float: left;
width: 22.75%;
margin-right: 3%;
margin-bottom: 25px;
background-color: #fff;
border-radius: 14px;
overflow: hidden;
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
transition: all 0.3s;
}

.brand_card:last-child{
margin-right: 0;
}

.brand_card:hover{
background-color: #ffffff;
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(0,0,0,0.16);
}

/* 카드 이미지 */
.card_img{
width: 100%;
height: 240px;
overflow: hidden;
}

.card_img img{
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: all 0.3s;
}

.brand_card:hover .card_img img{
transform: scale(1.05);
}

/* 카드 텍스트 */
.card_text{
padding: 25px;
}

.card_text h3{
font-size: 24px;
margin-bottom: 15px;
color: #222;
transition: all 0.3s;
}

.card_text p{
line-height: 1.8;
color: #666;
font-size: 15px;
transition: all 0.3s;
}

.brand_card:hover .card_text h3{
color: #111;
}

.brand_card:hover .card_text p{
color: #555;
}

/* =========================
두 번째 섹션
왼쪽 소개 + 오른쪽 세로 카드
========================= */
.news_section{
width: 100%;
background-color: #c8dbe7;
}

/* 왼쪽 큰 소개 영역 */
.news_left{
float: left;
width: 46%;
height: 1320px;
padding: 120px 90px;
background: url("water_drop.jpg") no-repeat center bottom / cover;
}

.news_left h2{
font-size: 74px;
line-height: 1.15;
color: #fff;
font-weight: 700;
margin-bottom: 42px;
}

.news_left p{
font-size: 22px;
line-height: 1.7;
color: rgba(255,255,255,0.95);
font-weight: 500;
margin-bottom: 55px;
}

/* 왼쪽 버튼 */
.news_btn{
display: inline-block;
padding: 20px 42px;
border: 1px solid rgba(255,255,255,0.6);
border-radius: 40px;
color: #fff;
font-size: 24px;
font-weight: 700;
transition: all 0.3s;
}

.news_btn:hover{
background-color: #ffffff;
color: #111;
border-color: #ffffff;
}

.news_btn span{
margin-left: 18px;
transition: all 0.3s;
}

.news_btn:hover span{
margin-left: 26px;
}

/* 오른쪽 카드 묶음 */
.news_right{
float: right;
width: 54%;
padding: 24px 24px 24px 0;
background-color: #c8dbe7;
}

/* 세로 카드 1개 */
.news_item{
width: 100%;
height: 314px;
margin-bottom: 28px;
padding: 24px;
background-color: rgba(235,243,248,0.42);
border-radius: 26px;
transition: all 0.3s;
}

.news_item:last-child{
margin-bottom: 0;
}

.news_item:hover{
background-color: #ffffff;
transform: translateY(-4px);
box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* 카드 안 이미지 */
.news_thumb{
float: left;
width: 42%;
height: 266px;
border-radius: 18px;
overflow: hidden;
}

.news_thumb img{
width: 100%;
height: 100%;
display: block;
object-fit: cover;
transition: all 0.3s;
}

.news_item:hover .news_thumb img{
transform: scale(1.05);
}

/* 카드 안 텍스트 */
.news_info{
float: right;
width: 52%;
padding-top: 42px;
color: #fff;
}

.news_info h3{
font-size: 30px;
line-height: 1.35;
margin-bottom: 24px;
font-weight: 700;
color: #fff;
transition: all 0.3s;
}

.news_info p{
font-size: 18px;
line-height: 1.8;
color: rgba(255,255,255,0.88);
margin-bottom: 34px;
transition: all 0.3s;
}

.news_item:hover .news_info h3{
color: #111;
}

.news_item:hover .news_info p{
color: #555;
}

/* 카드 버튼 */
.news_more{
display: inline-block;
padding: 14px 26px;
background-color: rgba(255,255,255,0.22);
border-radius: 30px;
color: #fff;
font-size: 17px;
font-weight: 700;
transition: all 0.3s;
}

.news_more:hover{
background-color: rgba(255,255,255,0.38);
color: #fff;
}

.news_item:hover .news_more{
background-color: #111;
color: #fff;
}

/* 두 번째 섹션 float 해제 */
.news_section:after,
.news_item:after{
content: "";
display: block;
clear: both;
}
</style>
</head>
<body>

<!-- 메인 비주얼 영역 -->
<section class="main_visual">
<div class="wrap">
<header class="cf">

<!-- 로고 -->
<div class="logo">
<a href="#">
<img src="https://yorien.com/img/logo.svg" alt="요리엔 로고">
</a>
</div>

<!-- 메인 메뉴 -->
<ul class="menu_wrap cf">
<li><a href="#">About</a></li>
<li><a href="#">Chablis</a></li>
<li><a href="#">Shop</a></li>
</ul>

<!-- 우측 유틸 메뉴 -->
<div class="util_menu">
<div class="cs_text">
<a href="#">고객상담센터</a>
</div>

<ul class="util_icon cf">
<li class="icon_login">
<a href="#">↪</a>
</li>
<li class="icon_user">
<a href="#">○</a>
</li>
<li class="icon_cart">
<a href="#">□</a>
<span class="cart_count">0</span>
</li>
</ul>
</div>

</header>
</div>

<!-- 좌우 화살표 -->
<div class="arrow_left">&#10094;</div>
<div class="arrow_right">&#10095;</div>

<!-- 메인 텍스트 -->
<div class="text_box">
<h2>요리에 품격을 더하다.</h2>
<p>
건강한 요리를 만드는 새로운 습관<br>
프리미엄 자연여과 정수기, 요리엔
</p>
</div>
</section>

<!-- 첫 번째 섹션 : Brand Story -->
<section class="brand_section">
<div class="inner">

<!-- 섹션 제목 -->
<div class="brand_title">
<h2>Brand Story</h2>
<p>깨끗한 물과 건강한 식문화를 위한 요리엔의 가치</p>
</div>

<!-- 4단 카드 영역 -->
<div class="card_wrap cf">

<!-- 카드 1 -->
<div class="brand_card">
<div class="card_img">
<img src="https://yorien.com/img/main_step01.jpg" alt="깨끗한 물">
</div>
<div class="card_text">
<h3>STEP 01 - Design</h3>
<p>
자연을 담은 예술의 경지<br><br>
수백 개의 시안에서 탄생한 요리엔의 독창적인 곡선과 형태는
자연의 맑고 투명한 모습을 그대로 담고 있으며,
레드닷 디자인 어워드 수상으로 그 가치를 인정받았습니다.
</p>
</div>
</div>

<!-- 카드 2 -->
<div class="brand_card">
<div class="card_img">
<img src="https://yorien.com/img/main_step02.jpg" alt="건강한 요리">
</div>
<div class="card_text">
<h3>STEP 02 - Materials</h3>
<p>
자연을 생각한 깐깐한 소재<br><br>
제품의 시작은 좋은 소재에서부터 시작됩니다.
환경과 사람을 생각하는 마음으로,
지속 가능한 아름다움이라는 철학을 바탕으로 선정하였습니다.
</p>
</div>
</div>

<!-- 카드 3 -->
<div class="brand_card">
<div class="card_img">
<img src="https://yorien.com/img/main_step03.jpg" alt="감각적인 주방">
</div>
<div class="card_text">
<h3>STEP 03 - Craftmanship</h3>
<p>
장인들의 완벽한 기술력<br><br>
국내 최고의 금형 및 사출 장인들이 모여
까다로운 형태를 오차 없이 구현하며
투명하고 맑은 요리엔의 본질을 완벽하게 보여줍니다.
</p>
</div>
</div>

<!-- 카드 4 -->
<div class="brand_card">
<div class="card_img">
<img src="https://yorien.com/img/main_step04.jpg" alt="원목 마감">
</div>
<div class="card_text">
<h3>STEP 04 - Finish</h3>
<p>
최고를 위한 섬세한 마무리<br><br>
직접 깎아 만든 북미산 오크나무와
최고급 독일산 원목 마감재인 아우로 오일을 사용하여
최상의 품질을 보장합니다.
</p>
</div>
</div>

</div>
</div>
</section>

<!-- 두 번째 섹션 : Discover What's New -->
<section class="news_section">

<!-- 왼쪽 소개 영역 -->
<div class="news_left">
<h2>Discover<br>What’s New</h2>
<p>
요리엔이 제안하는<br>
프로모션과 새로운 소식을 확인하세요.
</p>
<a href="#" class="news_btn">자세히 보기 <span>→</span></a>
</div>

<!-- 오른쪽 세로 카드 영역 -->
<div class="news_right">

<!-- 뉴스 카드 1 -->
<div class="news_item">
<div class="news_thumb">
<img src="https://yorien.com/data/file/promotion/thumb-9df7d8f6a8ed83e94730c787371ce6aa_0JvF8VaS_8d70be995c7c9bf86a86b45618dee2ecfb574503_1000x500.jpg" alt="봄 컬러 소개">
</div>
<div class="news_info">
<h3>봄에 찾아온 요리엔의 새로운 설렘</h3>
<p>만개하는 꽃의 설렘을 담은 요리엔의 새로운 컬러를 소개합니다.</p>
<a href="#" class="news_more">자세히 보기</a>
</div>
</div>

<!-- 뉴스 카드 2 -->
<div class="news_item">
<div class="news_thumb">
<img src="https://yorien.com/data/file/promotion/thumb-9df7d8f6a8ed83e94730c787371ce6aa_vgJZK9MP_2051ed40ba45776dd2645aed7d8cd6b37273936e_1000x500.jpg" alt="새로운 요리엔">
</div>
<div class="news_info">
<h3>새로운 요리엔을 만날 시간</h3>
<p>더 편안한 사용을 위한 디테일의 변화, 정교하게 통일된 다채로운 컬러까지.</p>
<a href="#" class="news_more">자세히 보기</a>
</div>
</div>

<!-- 뉴스 카드 3 -->
<div class="news_item">
<div class="news_thumb">
<img src="https://yorien.com/data/file/promotion/thumb-9df7d8f6a8ed83e94730c787371ce6aa_2BK9yvxp_2e4ef6b10b7de16fefa07f916b28cdfe125074e9_1000x500.jpg" alt="공식몰 리뉴얼">
</div>
<div class="news_info">
<h3>요리엔 공식몰 리뉴얼 오픈</h3>
<p>새로운 요리엔 공식몰에서 주방의 품격을 높여보세요.</p>
<a href="#" class="news_more">자세히 보기</a>
</div>
</div>

</div>
</section>

</body>
</html>
#스타일시트 요리엔 전체페이지 구성(AI)

첨부 파일

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

댓글 / 답글

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