728x90
λ μ΄μμ : μΉ΄λ μ ν01
λ€μκ³Ό κ°μ μΉ΄λ μ νμ λ μ΄μμμ μμ ν΄ λ³΄λλ‘ νκ² μ΅λλ€.
CSS μμ€
/* fonts */
@import url('https://webfontworld.github.io/NexonLv1Gothic/NexonLv1Gothic.css');
.nexon {
font-family: 'NexonLv1Gothic';
font-weight: 400;
}
/* reset */
* {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: #000;
}
img {
width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: normal;
}
/* common */
.container {
width: 1160px;
padding: 0 20px;
margin: 0 auto;
}
.section {
padding: 120px 0;
}
.section>h2 {
font-size: 50px;
line-height: 1;
text-align: center;
margin-bottom: 20px;
}
.section>p {
font-size: 22px;
font-weight: 300;
color: #666;
text-align: center;
margin-bottom: 70px;
}
/* cardType */
.card__inner {
display: flex;
justify-content: space-between;
}
.card {
width: 32%;
background-color: #f5f5f5;
}
.card__body {
padding: 24px;
}
.card__body .tit {
font-size: 24px;
margin-bottom: 10px;
}
.card__body .desc {
font-size: 18px;
line-height: 1.4;
color: #666;
margin-bottom: 20px;
font-weight: 300;
}
HTML μμ€
<section id="cardType" class="card__wrap nexon section">
<h2>μΈμμ κ·μ¬μ΄ λλμ΄</h2>
<p>κ°μμ§ μ’
λ₯λ λ§€μ° λ€μν©λλ€. νμ§λ§ νλκ°μ΄ μ λ§ κ·μ½μ΅λλ€.</p>
<div class="card__inner container">
<article class="card">
<figure class="card__header">
<img src="img/card_bg01.jpg" alt="리νΈλ¦¬λ²">
</figure>
<div class="card__body">
<h3 class="tit">리νΈλ¦¬λ²</h3>
<p class="desc">리νΈλ¦¬λ²λ μΈμμμ μ μΌ κ·μ¬μ΄ κ°μμ§μ
λλ€. μ¬μ€ κ°μμ§λΌκΈ°μλ κ°μ
λλ€.
κ·Έλλ μ ν¬λκΉ μ κ·μ½μ΅λλ€. κ·μ¬μ°λ©΄ κ°μμ§λΌκ³ ν΄λ λ©λλ€...</p>
<a class="brn" href="/">
λ μμΈν 보기
<span aria-hidden="true">
<svg width="65" height="8" viewBox="0 0 65 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M64.3536 4.35355C64.5488 4.15829 64.5488 3.84171 64.3536 3.64645L61.1716 0.464466C60.9763 0.269204 60.6597 0.269204 60.4645 0.464466C60.2692 0.659728 60.2692 0.976311 60.4645 1.17157L63.2929 4L60.4645 6.82843C60.2692 7.02369 60.2692 7.34027 60.4645 7.53553C60.6597 7.7308 60.9763 7.7308 61.1716 7.53553L64.3536 4.35355ZM0 4.5H64V3.5H0V4.5Z" fill="black"/>
</svg>
</span>
</a>
</div>
</article>
<article class="card">
<figure class="card__header">
<img src="img/card_bg02.jpg" alt="ν¬λ©λΌλμ">
</figure>
<div class="card__body">
<h3 class="tit">ν¬λ©λΌλμ</h3>
<p class="desc">ν¬λ©λΌλμ μ¬μ§μ 보λ μκ°μ΄ λ°λμμ΅λλ€. ν¬λ©λΌλμμ΄ μ§μ μΈμμμ κ°μ₯ κ·
μ¬μ΄ κ°μμ§μ
λλ€. κ°μμ§λ 컀λ κ·μ½κ³ μμλ κ·μ½μ§λ§, ν¬λ©λΌλμμ κ·Έλ₯ κ·...</p>
<a class="brn" href="/">
λ μμΈν 보기
<span>
<svg width="65" height="8" viewBox="0 0 65 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M64.3536 4.35355C64.5488 4.15829 64.5488 3.84171 64.3536 3.64645L61.1716 0.464466C60.9763 0.269204 60.6597 0.269204 60.4645 0.464466C60.2692 0.659728 60.2692 0.976311 60.4645 1.17157L63.2929 4L60.4645 6.82843C60.2692 7.02369 60.2692 7.34027 60.4645 7.53553C60.6597 7.7308 60.9763 7.7308 61.1716 7.53553L64.3536 4.35355ZM0 4.5H64V3.5H0V4.5Z" fill="black"/>
</svg>
</span>
</a>
</div>
</article>
<article class="card">
<figure class="card__header">
<img src="img/card_bg03.jpg" alt="λλν κ°μμ§">
</figure>
<div class="card__body">
<h3 class="tit">λλν κ°μμ§</h3>
<p class="desc">μ΄ κ°μμ§λ κ·μ¬μ΄λ° λλνκΈ°κΉμ§ ν©λλ€. μ΄μ¬ν μμ
νλ λͺ¨μ΅μ΄ λ§μΉ μ½λ©μ
νκ³ μλ κ² κ°μ΅λλ€. μ¬λ¬ λ°©λ©΄μμ κ°μμ§κ° μ λ³΄λ€ λμ κ² κ°μ΅λλ€...</p>
<a class="brn" href="/">
λ μμΈν 보기
<span>
<svg width="65" height="8" viewBox="0 0 65 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M64.3536 4.35355C64.5488 4.15829 64.5488 3.84171 64.3536 3.64645L61.1716 0.464466C60.9763 0.269204 60.6597 0.269204 60.4645 0.464466C60.2692 0.659728 60.2692 0.976311 60.4645 1.17157L63.2929 4L60.4645 6.82843C60.2692 7.02369 60.2692 7.34027 60.4645 7.53553C60.6597 7.7308 60.9763 7.7308 61.1716 7.53553L64.3536 4.35355ZM0 4.5H64V3.5H0V4.5Z" fill="black"/>
</svg>
</span>
</a>
</div>
</article>
</div>
</section>
κ²°κ³Ό
728x90
'WebSite' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
μΉμ¬μ΄νΈ λ§λ€κΈ° : μΉ΄λ μ ν λ μ΄μμ03 (17) | 2022.08.10 |
---|---|
μΉμ¬μ΄νΈ λ§λ€κΈ° : μΉ΄λ μ ν λ μ΄μμ02 (12) | 2022.08.09 |
λ μ΄μμ(Layout) μ ν05 (7) | 2022.07.29 |
λ μ΄μμ(Layout) μ ν04 (7) | 2022.07.29 |
λ μ΄μμ(Layout) μ ν03 (7) | 2022.07.29 |
λκΈ