first commit 2
This commit is contained in:
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit;
|
||||
?>
|
||||
|
||||
<div class="pns-brand-section">
|
||||
<div class="brand-bg" style="background-image: url('https://www.pnswindow.co.kr/images/main/main_visual_03.jpg');"></div>
|
||||
<div class="brand-content container">
|
||||
<div class="brand-text">
|
||||
<h2>PNS PHILOSOPHY</h2>
|
||||
<p>완벽함을 향한 끊임없는 도전,<br>PNS가 만들어가는 창호의 미래입니다.</p>
|
||||
<a href="#" class="btn-brand">BRAND STORY</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.pns-brand-section {
|
||||
position: relative;
|
||||
height: 500px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
}
|
||||
.brand-bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
background-attachment: fixed; /* 패럴랙스 효과 */
|
||||
}
|
||||
.brand-bg::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgba(0,0,0,0.5);
|
||||
}
|
||||
.brand-content {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
width: 100%;
|
||||
}
|
||||
.brand-text {
|
||||
color: #fff;
|
||||
max-width: 600px;
|
||||
}
|
||||
.brand-text h2 {
|
||||
font-size: 3rem;
|
||||
font-weight: 900;
|
||||
margin-bottom: 20px;
|
||||
color: #009fe3;
|
||||
}
|
||||
.brand-text p {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.6;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
.btn-brand {
|
||||
display: inline-block;
|
||||
padding: 15px 40px;
|
||||
background-color: #009fe3;
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
.btn-brand:hover {
|
||||
background-color: #007bb5;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.brand-text { text-align: center; margin: 0 auto; }
|
||||
.brand-text h2 { font-size: 2.5rem; }
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user