๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Site

[์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ] ์‹ค์ „ ์œ ํ˜• 01

by ์ฝ”๋”ฉ๊ณต์ฑ… 2022. 9. 13.
๋ฐ˜์‘ํ˜•

์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ : ์‹ค์ „ ์œ ํ˜• 01

๊ทธ๋™์•ˆ ๋ฐฐ์› ๋˜ ํ—ค๋”(๋ฐ˜์‘ํ˜• ์ „์šฉ ๋ฉ”๋‰ด๋ฐ” ํฌํ•จ), ์นด๋“œ, ์ด๋ฏธ์ง€, ์ด๋ฏธ์ง€/ํ…์ŠคํŠธ, ํ…์ŠคํŠธ, ์Šฌ๋ผ์ด๋“œ, ํ‘ธํ„ฐ ์œ ํ˜•์„ ํ•œ ๊ณณ์— ๋ชจ์•„ ๋ณธ๊ฒฉ์ ์œผ๋กœ ์›น ํŽ˜์ด์ง€๋ฅผ ๋งŒ๋“ค์–ด๋ณด๋„๋ก ํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.


Figma

HTML ์†Œ์Šค

ํ—ค๋”, ์Šฌ๋ผ์ด๋“œ, ์ด๋ฏธ์ง€, ์ด๋ฏธ์ง€/ํ…์ŠคํŠธ, ์นด๋“œ, ๋ฐฐ๋„ˆ, ํ…์ŠคํŠธ, ํ‘ธํ„ฐ ์ˆœ์œผ๋กœ ์˜์—ญ์ด ์ด๋ฃจ์–ด์ ธ ์žˆ๋‹ค. (โ€ป ์Šค์••์ฃผ์˜!)

์ฝ”๋“œ ํŽผ์ณ๋ณด๊ธฐ
<body>
    <div id="skip">
        <a href="#headerType">ํ—ค๋” ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
        <a href="#sliderType">์Šฌ๋ผ์ด๋“œ ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
        <a href="#imageType">์ด๋ฏธ์ง€ ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
        <a href="#imgTextType">์ด๋ฏธ์ง€/ํ…์ŠคํŠธ ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
        <a href="#cardType">์นด๋“œ ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
        <a href="#bannerType">๋ฐฐ๋„ˆ ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
        <a href="#textType">ํ…์ŠคํŠธ ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
        <a href="#footerType">ํ‘ธํ„ฐ ์˜์—ญ ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
    </div>
    <!-- // skip : ์›นํ‘œ์ค€ ์ค€์ˆ˜ ์œ„ํ•ด ๋งŒ๋“ค์–ด์คŒ -->

    <header id="headerType">
        <h1>web site</h1>
    </header>
    <!-- // headerType -->

    <main id="mainType">
        <section id="headerType" class="header__wrap nexon">
            <div class="header__inner">
                <h1 class="header__logo">
                    <a href="#">๋ณ„๋น›์ œ๋นต๊ต์‹ค <em>Baking Class</em></a>
                </h1>
                <div class="header__menu">
                    <ul>
                        <li class="active"><a href="#headerType">MAIN</a></li>
                        <li><a href="#imageType">NOTICE</a></li>
                        <li><a href="#imgTextType">CERTIFICATION</a></li>
                        <li><a href="#cardType">CLASS</a></li>
                        <li><a href="#bannerType">YOUTUBE</a></li>
                        <li><a href="#textType">GOAL</a></li>
                    </ul>
                </div>
                <div class="header__member">
                    <a href="#">SIGN IN</a>
                </div>
                <div class="header__ham">
                    <span></span>
                    <span></span>
                    <span></span>
                </div>
            </div>
        </section>

        <section id="sliderType" class="slider__wrap scroll">
            <h2 class="blind">์Šฌ๋ผ์ด๋“œ ์˜์—ญ</h2>
            <!-- <div class="slider__inner">
                <div class="slider">
                    <div class="slider__img">
                        <div class="desc container">
                            <span>BAKING CLASS</span>
                            <h3>AWESOME BAKING CLASS</h3>
                            <p>
                                ํ›Œ๋ฅญํ•œ ์ œ๋นต์‚ฌ๊ฐ€ ๋˜๊ณ  ์‹ถ์œผ์‹ ๊ฐ€์š”? <br>
                                ๋ณ„๋น›์ œ๋นต๊ต์‹ค์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!
                            </p>
                            <div class="btn">
                                <a href="#">์ž์„ธํžˆ ๋ณด๊ธฐ</a>
                                <a href="#" class="black">์‚ฌ์ดํŠธ ๋ณด๊ธฐ</a>
                            </div>
                        </div>
                    </div>
                    <div class="slider__arrow">
                        <a href="#" class="left"><span class="ir">์ด์ „ ์ด๋ฏธ์ง€</span></a>
                        <a href="#" class="right"><span class="ir">๋‹ค์Œ ์ด๋ฏธ์ง€</span></a>
                    </div>
                    <div class="slider__dot">
                        <a href="#" class="dot active"><span class="ir">1</span></a>
                        <a href="#" class="dot"><span class="ir">2</span></a>
                        <a href="#" class="dot"><span class="ir">3</span></a>
                        <a href="#" class="play"><span class="ir">ํ”Œ๋ ˆ์ด</span></a>
                        <a href="#" class="stop"><span class="ir">์ •์ง€</span></a>
                    </div>
                </div>
            </div> -->

            <!-- Swiper -->
            <div class="swiper mySwiper">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <div class="desc container">
                            <span>BAKING CLASS</span>
                            <h3>AWESOME BAKING</h3>
                            <p>
                                ํ›Œ๋ฅญํ•œ ์ œ๋นต์‚ฌ๊ฐ€ ๋˜๊ณ  ์‹ถ์œผ์‹ ๊ฐ€์š”? <br>
                                ๋ณ„๋น›์ œ๋นต๊ต์‹ค์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!
                            </p>
                            <div class="btn">
                                <a href="#">์ž์„ธํžˆ ๋ณด๊ธฐ</a>
                                <a href="#" class="black">์‚ฌ์ดํŠธ ๋ณด๊ธฐ</a>
                            </div>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="desc container">
                            <span>BAKING CLASS</span>
                            <h3>AWESOME BAKING</h3>
                            <p>
                                ํ›Œ๋ฅญํ•œ ์ œ๋นต์‚ฌ๊ฐ€ ๋˜๊ณ  ์‹ถ์œผ์‹ ๊ฐ€์š”? <br>
                                ๋ณ„๋น›์ œ๋นต๊ต์‹ค์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!
                            </p>
                            <div class="btn">
                                <a href="#">์ž์„ธํžˆ ๋ณด๊ธฐ</a>
                                <a href="#" class="black">์‚ฌ์ดํŠธ ๋ณด๊ธฐ</a>
                            </div>
                        </div>
                    </div>
                    <div class="swiper-slide">
                        <div class="desc container">
                            <span>BAKING CLASS</span>
                            <h3>AWESOME BAKING</h3>
                            <p>
                                ํ›Œ๋ฅญํ•œ ์ œ๋นต์‚ฌ๊ฐ€ ๋˜๊ณ  ์‹ถ์œผ์‹ ๊ฐ€์š”? <br>
                                ๋ณ„๋น›์ œ๋นต๊ต์‹ค์— ์˜ค์‹  ๊ฒƒ์„ ํ™˜์˜ํ•ฉ๋‹ˆ๋‹ค!
                            </p>
                            <div class="btn">
                                <a href="#">์ž์„ธํžˆ ๋ณด๊ธฐ</a>
                                <a href="#" class="black">์‚ฌ์ดํŠธ ๋ณด๊ธฐ</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="swiper-pagination"></div>
                <div class="swiper-button-next"></div>
                <div class="swiper-button-prev"></div>
            </div>
        </section>
        <!-- // sliderType -->

        <section id="imageType" class="image__wrap nexon section scroll container">
            <h2>๋ณ„๋น›์ œ๋นต๊ต์‹ค ๊ฐœ๊ฐ• ์†Œ์‹๐Ÿž</h2>
            <p>๋ณ„๋น›์ œ๋นต๊ต์‹ค์ด ์˜ฌ ๊ฒจ์šธ์— ๊ฐœ๊ฐ•ํ•ฉ๋‹ˆ๋‹ค. ์ˆ˜๊ฐ•์‹ ์ฒญ ๊ธฐํšŒ๋Š” ์ง€๊ธˆ ๋ฟ์ด๋‹ˆ ์„œ๋‘๋ฅด์„ธ์š”!</p>
            <div class="image__inner">
                <article class="image img1">
                    <h3 class="image__title">Class A</h3>
                    <p class="image__desc">
                        12์›” 17์ผ๋ถ€ํ„ฐ 23๋…„ 3์›” 18์ผ๊นŒ์ง€ ์•ฝ 3๊ฐœ์›”๋™์•ˆ ์ง„ํ–‰๋˜๋ฉฐ, 
                        ์ž…๋ฌธ์ž ๋ˆˆ๋†’์ด์— ๋งž์ถฐ ์ œ๋นต์˜ ๊ธฐ์ดˆ์— ํฌ์ปค์Šค๋ฅผ ๋‘๊ณ  ์ฐจ๊ทผ์ฐจ๊ทผ ์ˆ˜์—…์ด ์ด๋ฃจ์–ด์ง‘๋‹ˆ๋‹ค.
                    </p>
                    <a class="image__btn" href="#" title="์ž์„ธํžˆ ๋ณด๊ธฐ">
                        ์ž์„ธํžˆ ๋ณด๊ธฐ
                    </a>
                </article>
                <article class="image img2">
                    <h3 class="image__title">Class B</h3>
                    <p class="image__desc">
                        12์›” 22์ผ๋ถ€ํ„ฐ 23๋…„ 6์›” 21์ผ๊นŒ์ง€ ์•ฝ 6๊ฐœ์›”๋™์•ˆ ์ง„ํ–‰๋˜๋ฉฐ, 
                        ๋ฒ ์ดํ‚น ์ž…๋ฌธ ์ œ๊ณผ+์ œ๋นต ๊ธฐ๋Šฅ์‚ฌ์™€ ์‹ค๋ฌด์—์„œ์˜ ๊ธฐ๋ณธ๊ธฐ, ์ œ์กฐ ๊ธฐ์ˆ  ์Šต๋“ ๊ณผ์ •์ธ ๋””์ €ํŠธ '์˜ฌ๋ฒ ์ด์ง',
                        ์ผ€์ดํฌ๋””์ž์ธ ์ž๊ฒฉ์ฆ ๊ณผ์ •๊นŒ์ง€ ์‹ค๋ฌด ๋ํŒ์™• '์˜ฌ๋งˆ์Šคํ„ฐ' ๊ต์œก์„ ๋ชฉํ‘œ๋กœ ํ•˜๋Š” ํŒŒํ‹ฐ์…ฐ ์™„์„ฑ ๊ณผ์ •์ž…๋‹ˆ๋‹ค.
                    </p>
                    <a class="image__btn" href="#" title="์ž์„ธํžˆ ๋ณด๊ธฐ">
                        ์ž์„ธํžˆ ๋ณด๊ธฐ
                    </a>
                </article>
            </div>
        </section>
        <!-- // imageType -->

        <section id="imgTextType" class="imgText__wrap nexon section scroll gray">
            <h2 class="blind">์ž๊ฒฉ์ฆ ๊ณผ์ •</h2>
            <div class="imgText__inner container">
                <div class="imgText__txt">
                    <span>CERTIFICATION</span>
                    <h3>์ž๊ฒฉ์ฆ ๊ณผ์ •</h3>
                    <p>์ˆ˜๊ฐ• ์ค‘, ์ทจ๋“ ๊ฐ€๋Šฅํ•œ ์ž๊ฒฉ์ฆ ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค.</p>
                    <ul>
                        <li><a href="#">์กฐ๋ฆฌ๊ธฐ๋Šฅ์‚ฌ ํ•„๊ธฐ</a></li>
                        <li><a href="#">์ œ๊ณผยท์ œ๋นต๊ธฐ๋Šฅ์‚ฌ</a></li>
                        <li><a href="#">์ปคํ”ผ ๋ฐ”๋ฆฌ์Šคํƒ€</a></li>
                        <li><a href="#">์‚ฐ์—…๊ธฐ์‚ฌ/๊ธฐ๋Šฅ์žฅ</a></li>
                        <li><a href="#">์–‘์‹์กฐ๋ฆฌ๊ธฐ๋Šฅ์‚ฌ</a></li>
                        <li><a href="#">ํ•œ์‹์กฐ๋ฆฌ๊ธฐ๋Šฅ์‚ฌ</a></li>
                    </ul>
                </div>
                <div class="imgText__img img1">
                    <a href="#">์ž์„ธํžˆ ๋ณด๋Ÿฌ๊ฐ€๊ธฐ</a>
                </div>
                <div class="imgText__img img2">
                    <a href="#" class="blue">ํ๋„ท ๋ฐ”๋กœ๊ฐ€๊ธฐ</a>
                </div>
            </div>
        </section>
        <!-- // imgTextType -->

        <section id="cardType" class="card__wrap nexon section scroll container">
            <h2>๊ณผ์ • ์†Œ๊ฐœ</h2>
            <p>๊ธฐ์ดˆ ๊ณผ์ •๋ถ€ํ„ฐ ์‹ฌํ™” ๊ณผ์ •๊นŒ์ง€, ๊ทธ๋ฆฌ๊ณ  ๋‚˜๋งŒ์˜ ์ œ๋นต ํฌํŠธํด๋ฆฌ์˜ค๋ฅผ ๋งŒ๋“ค๊ธฐ๊นŒ์ง€์˜ ๊ณผ์ •์„ ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค.</p>
            <div class="card__inner">
                <article class="card">
                    <!-- ์ด๋ฏธ์ง€ ๋„ฃ์„ ๋•Œ ๊ทธ๋ƒฅ imgํƒœ๊ทธ ์“ฐ์ง€๋ง๊ณ  figure ํƒœ๊ทธ ์•ˆ์— ๋„ฃ์–ด์„œ ์จ์•ผ ์›นํ‘œ์ค€ ์ค€์ˆ˜ํ•œ๊ฑฐ์ž„ -->
                    <figure class="card__header">
                        <img src="assets/img/cardType/card_bg01.jpg" alt="์ œ๋นต ๊ธฐ์ดˆ ๊ฐ•์˜">
                    </figure>
                    <div class="card__body">
                        <h3 class="title">์ œ๋นต ๊ธฐ์ดˆ ๊ฐ•์˜</h3>
                        <p class="desc">
                            ์ œ๋นต์˜ ๊ธฐ์ดˆ๊ฐ€ ๋˜๋Š” ๊ฐ•์˜์ž…๋‹ˆ๋‹ค. ์ดˆ์‹ฌ์ž๋„ ์ดํ•ดํ•˜๊ธฐ ์‰ฝ๊ฒŒ ๊ฐ•์˜๊ฐ€ ์ง„ํ–‰๋˜๋ฉฐ 
                            ์ดˆ๋ฐ˜์—๋Š” ์ด๋ก  ๊ฐ•์˜๋ถ€ํ„ฐ ์‹œ์ž‘ํ•ด ์ค‘๋ฐ˜๋ถ€ํ„ฐ๋Š” ์‹ค์Šต์„ ์‹œ์ž‘ํ•˜์—ฌ ์ œ๋นต์˜ ๊ธฐ์ดˆ๋ฅผ ์ตํžˆ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค.
                        </p>
                        <a class="btn" 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="assets/img/cardType/card_bg02.jpg" alt="์ œ๋นต ์‹ฌํ™” ๊ณผ์ •">
                    </figure>
                    <div class="card__body">
                        <h3 class="title">์ œ๋นต ์‹ฌํ™” ๊ณผ์ •</h3>
                        <p class="desc">
                            ์ด์ œ ๊ธฐ์ดˆ ๊ฐ•์˜๊ฐ€ ๋„ˆ๋ฌด ์‰ฌ์›Œ ์‹œ์‹œํ•˜๋‹ค๊ณ  ๋Š๊ปด์งˆ ์ฆˆ์Œ ์‹ฌํ™”๊ณผ์ •์— ๋“ค์–ด๊ฐ€๊ฒŒ ๋  ๊ฒ๋‹ˆ๋‹ค.
                            ์‹œ์ค‘์— ํŒ๋งค๋˜๊ณ  ์žˆ๋Š” ์ œ๊ณผ์  ๋นต๋“ค์„ ์ง์ ‘ ๋งŒ๋“ค์–ด๋ณด๋Š” ์‹œ๊ฐ„์„ ๊ฐ–๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.
                        </p>
                        <a class="btn" 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="assets/img/cardType/card_bg03.jpg" alt="๋‚˜๋งŒ์˜ ์ œ๋นต ํฌํŠธํด๋ฆฌ์˜ค ๋งŒ๋“ค๊ธฐ">
                    </figure>
                    <div class="card__body">
                        <h3 class="title">๋‚˜๋งŒ์˜ ์ œ๋นต ํฌํŠธํด๋ฆฌ์˜ค ๋งŒ๋“ค๊ธฐ</h3>
                        <p class="desc">
                            ์ด์ œ ๋นต์ง‘ ์ฐฝ์—…ํ•ด๋„ ๋ฌธ์ œ ์—†์„ ์ •๋„์˜ ์‹ค๋ ฅ์„ ๊ฐ–์ถ”๊ฒŒ ๋˜์…จ์„ ๊ฒ๋‹ˆ๋‹ค! ์ด์ œ๋Š” ๋Šฅ์ˆ™ํ•ด์ง„ ์ œ๋นต ์‹ค๋ ฅ์—
                            ๋‚˜๋งŒ์˜ ๊ฐœ์„ฑ์„ ๋”ํ•˜์—ฌ ํŠผํŠผํ•œ ํฌํŠธํด๋ฆฌ์˜ค๋ฅผ ๋งŒ๋“ค์–ด๋ณด์•„์š”!
                        </p>
                        <a class="btn" 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>
            </div>
        </section>
        <!-- // cardType -->

        <section id="bannerType" class="banner__wrap nexon section scroll">
            <h2 class="blind">๋ฐฐ๋„ˆ ์˜์—ญ</h2>
            <div class="banner__inner">
                <h3 class="title">๊น€์ œ๋นต ์œ ํŠœ๋ธŒ</h3>
                <p class="desc">
                    ๋ณ„๋น›์ œ๋นต๊ต์‹ค ์œ ๋ช… ๊ฐ•์‚ฌ ๊น€์ œ๋นต์˜ ์œ ํŠœ๋ธŒ ์ฑ„๋„์ž…๋‹ˆ๋‹ค!
                    <a href="https://www.youtube.com/c/CozyRain" title="์œ ํŠœ๋ธŒ ํŽ˜์ด์ง€๋กœ ์ด๋™">https://www.youtube.com/c/kim_baking</a>
                </p>
            </div>
        </section>
        <!-- // bannerType -->

        <section id="textType" class="text__wrap nexon section scroll container">
            <span>GOAL</span>
            <h2 class="mb70">๊ฐ•์˜ ๋ชฉํ‘œ์— ๋Œ€ํ•ด ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.</h2>
            <div class="text__inner">
                <div class="text t1">
                    <h3 class="text__title">ํ˜•ํƒœ์™€ ๋ง› ํ‘œํ˜„</h3>
                    <p class="text__desc">
                        ๋นต๊ณผ ๊ณผ์ž์˜ ๊ณ ์œ  ํ˜•ํƒœ์™€ ๋ง›์„
                        ํ‘œํ˜„ํ•˜๋Š” ๋ฐฉ๋ฒ•์„ ์Šต๋“ํ•˜๊ณ  ๋ ˆ์‹œํ”ผ๋ฅผ
                        ์ •ํ™•ํ•˜๊ฒŒ ์ดํ•ดํ•˜๋ฉฐ ๊ธฐ์ดˆ ์กฐ๋ฆฌ ๊ธฐ์ˆ ์„
                        ์Šต๋“ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. 
                    </p>
                    <a class="text__btn" href="#">๋”๋ณด๊ธฐ</a>
                </div>
                <div class="text t2">
                    <h3 class="text__title">์ œ๊ณผ/์ œ๋นต์‚ฌ ์ž๊ฒฉ์ฆ ์ทจ๋“</h3>
                    <p class="text__desc">
                        ์‹œํ—˜๋Œ€๋น„์— ๋งž์ถ˜ ์ฒด๊ณ„์ ์ธ ์‹ค๊ธฐ ์ˆ˜์—…
                        ์ง„ํ–‰์œผ๋กœ ์ œ๊ณผ/์ œ๋นต์‚ฌ ์ž๊ฒฉ์ฆ ํ•ฉ๊ฒฉ์„
                        ์œ„ํ•œ ์ทจ๋“ ๋…ธํ•˜์šฐ๋ฅผ ํ™•์‹คํ•˜๊ฒŒ
                        ์ „์ˆ˜ํ•ฉ๋‹ˆ๋‹ค.
                    </p>
                    <a class="text__btn" href="#">๋”๋ณด๊ธฐ</a>
                </div>
                <div class="text t3">
                    <h3 class="text__title">1์‹œ๊ฐ„ ์ด๋‚ด์— ๋น ๋ฅด๊ฒŒ ๋งŒ๋“ค๊ธฐ</h3>
                    <p class="text__desc">
                        ์ง€๊ธ‰๋œ ์žฌ๋ฃŒ๋กœ ์š”๊ตฌํ•˜๋Š” ํ’ˆ๋ชฉ์„
                        ์‹œํ—˜๊ธฐ๊ฐ„(1์‹œ๊ฐ„์ด๋‚ด)์— 1์ธ๋ถ„์„
                        ๋งŒ๋“ค์–ด๋‚ด๋Š” ์‹ค๊ธฐ ์‹œํ—˜ ํ˜•ํƒœ๋กœ ์ง„ํ–‰ํ• 
                        ์ˆ˜ ์žˆ๊ฒŒ ์ค€๋น„ํ•ฉ๋‹ˆ๋‹ค.
                    </p>
                    <a class="text__btn" href="#">๋”๋ณด๊ธฐ</a>
                </div>
                <div class="text t4">
                    <h3 class="text__title">ํ›Œ๋ฅญํ•œ ํŒŒํ‹ฐ์‹œ์—๋กœ ์„ฑ์žฅํ•˜๊ธฐ</h3>
                    <p class="text__desc">
                        ๋””์ €ํŠธ ๋ฌธํ™”๋ฅผ ์ด๋Œ์–ด ๊ฐˆ ํŒŒํ‹ฐ์‹œ์—
                        ์–‘์„ฑ์„ ๋ชฉํ‘œ๋กœ ์ตœ์„ ์˜ ๊ต์œก์„
                        ์ œ๊ณตํ•˜์—ฌ ์ˆ˜๊ฐ•์ƒ ๋ชจ๋‘๊ฐ€ ์›ํ•˜๋Š” ๊ฟˆ์„
                        ์ด๋ฃจ์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
                    </p>
                    <a class="text__btn" href="#">๋”๋ณด๊ธฐ</a>
                </div>
                <div class="text t5">
                    <h3 class="text__title">์ฐฝ์—… ๋…ธํ•˜์šฐ ํ•™์Šต</h3>
                    <p class="text__desc">
                        ํ›Œ๋ฅญํ•œ ์ œ๋นต์‚ฌ๋กœ ์ผํ•˜๋Š” ๊ฒƒ๋„ ๋ฌผ๋ก  ์ข‹์ง€๋งŒ
                        ์ž๋ณธ์ด ๋ชจ์ด๊ฒŒ ๋œ๋‹ค๋ฉด ์ œ๊ณผ์ ์„ ์ฐจ๋ฆฌ๋Š” ๊ฒƒ๋„
                        ์ข‹์ง€์š”. ์ €ํฌ ํ•™์›์—์„œ ์ฐฝ์—… ๋…ธํ•˜์šฐ๋„ ์•Œ๋ ค๋“œ๋ฆฝ๋‹ˆ๋‹ค.
                    </p>
                    <a class="text__btn" href="#">๋”๋ณด๊ธฐ</a>
                </div>
                <div class="text t6">
                    <h3 class="text__title">๋ง›๋‚˜๊ฒŒ ๋จน๊ธฐ</h3>
                    <p class="text__desc">
                        ๋ง›์žˆ๊ฒŒ ๋งŒ๋“  ๋นต์„ ๋ง›๋‚˜๊ฒŒ ๋จน๋Š” ๊ฒƒ๋„ ์ค‘์š”ํ•ฉ๋‹ˆ๋‹ค. 
                        ์—ฌ๊ธฐ๊นŒ์ง€ ์˜ค์…จ๋‹ค๋ฉด '๋‚ด๊ฐ€ ๋งŒ๋“  ๊ฒŒ ๋งž๋‚˜?' ์‹ถ์„ ์ •๋„๋กœ
                        ๋นต์˜ ๋ง›์ด ๋ฌด์ฒ™ ๋ง›์žˆ์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค. 
                    </p>
                    <a class="text__btn" href="#">๋”๋ณด๊ธฐ</a>
                </div>
            </div>
        </section>
        <!-- // textType -->
    </main>
    <!-- // mainType -->

    <footer id="footerType" class="footer__wrap nexon section gray">
        <h2 class="blind">ํ‘ธํ„ฐ ์˜์—ญ</h2>
        <div class="footer__inner container">
            <div class="footer__menu">
                <div>
                    <h3>์ƒ๋‹ด์‹ ์ฒญ</h3>
                    <ul>
                        <li><a href="#">๋ฐฉ๋ฌธ ์ƒ๋‹ด์‹ ์ฒญ</a></li>
                        <li><a href="#">์˜จ๋ผ์ธ ์ƒ๋‹ด์‹ ์ฒญ</a></li>
                        <li><a href="#">1:1 ๋ฌธ์˜</a></li>
                    </ul>    
                </div>
                <div>
                    <h3>์‹œ๊ฐ„ํ‘œ ์กฐํšŒ</h3>
                    <ul>
                        <li><a href="#">ํด๋ž˜์ŠคA</a></li>
                        <li><a href="#">ํด๋ž˜์ŠคB</a></li>
                        <li><a href="#">ํด๋ž˜์ŠคC</a></li>
                        <li><a href="#">ํด๋ž˜์ŠคD</a></li>
                    </ul>
                </div>
                <div>
                    <h3>์•„์นด๋ฐ๋ฏธ ์ฐพ๊ธฐ</h3>
                    <ul>
                        <li><a href="#">๊ฐ•๋‚จ ์บ ํผ์Šค</a></li>
                        <li><a href="#">์ข…๋กœ ์บ ํผ์Šค</a></li>
                        <li><a href="#">๊ตฌ๋กœ ์บ ํผ์Šค</a></li>
                        <li><a href="#">์•ˆ์‚ฐ ์บ ํผ์Šค</a></li>
                        <li><a href="#">์ˆ˜์› ์บ ํผ์Šค</a></li>
                    </ul>
                </div>
                <div>
                    <h3>๋ฌธ์˜ ๊ฒŒ์‹œํŒ</h3>
                    <ul>
                        <li><a href="#">์งˆ๋ฌธํ•˜๊ธฐ</a></li>
                        <li><a href="#">๊ฑด์˜์‚ฌํ•ญ</a></li>
                    </ul>
                </div>
                <div>
                    <h3>์ˆ˜๊ฐ•๋ฃŒ๋ฌธ์˜</h3>
                    <ul>
                        <li><a href="#">๋ฐฉ๋ฌธ ์ƒ๋‹ด์‹ ์ฒญ</a></li>
                        <li><a href="#">์˜จ๋ผ์ธ ์ƒ๋‹ด์‹ ์ฒญ</a></li>
                        <li><a href="#">์ „ํ™” ์ƒ๋‹ด์‹ ์ฒญ</a></li>
                        <li><a href="#">์นด์นด์˜คํ†ก ์ƒ๋‹ด์‹ ์ฒญ</a></li>
                    </ul>
                </div>
            </div>
            <div class="footer__right">
                โ“’2022 Byeolbit Jeppang Kyoshil<br>
                All rights reserved.
            </div>
        </div>
    </footer>
    <!-- // footerType -->
</body>

CSS ์†Œ์Šค

๊ฐ ์˜์—ญ๋ณ„ CSS ์ฝ”๋“œ์ด๋‹ค.
common ์š”์†Œ ๋“ฑ์˜ CSS ์ฝ”๋“œ๋Š” ํ•˜๋‹จ์˜ [์›๋ณธ ์‚ฌ์ดํŠธ ๋ณด๊ธฐ] ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ํŽ˜์ด์ง€ ์†Œ์Šค๋ฅผ ์ฐธ์กฐํ•  ๊ฒƒ.

ํ—ค๋” & ๋ฐ˜์‘ํ˜• ์ „์šฉ ๋ฉ”๋‰ด๋ฐ” ์˜์—ญ
/* headerType */
.header__inner {
    /* height: 70px; */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content:space-between;
    padding: 20px;
    box-sizing: border-box;
    border-bottom: 1px solid #ccc;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 4px #999;
}
.header__logo {
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
}
.header__logo a {
    color: rgb(80, 80, 80);
}
.header__logo em {
    font-size: 16px;
    font-weight: 400;
    color: rgb(130, 130, 130);
}
.header__menu {
    text-align: center;
}
.header__menu li {
    display: inline;
}
.header__menu li a {
    padding: 8px 30px;
    margin: 0 5px;
    transition: background-color 0.3s;
}
.header__menu li.active a {
    background: rgb(80, 80, 80);
    border-radius: 5px;
    color: #fff;
}
.header__menu li a:hover {
    background: rgb(130, 130, 130);
    border-radius: 5px;
    color: #fff;
}

/* ๋กœ๊ทธ์ธ ๋ฒ„ํŠผ */
.header__member {
    text-align: right;
}
.header__member a {
    font-size: 16px;
    border: 1px solid rgb(80, 80, 80);
    padding: 8px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.header__member a:hover {
    background: rgb(80, 80, 80);
    color: #fff;
}

/* ํ–„๋ฒ„๊ฑฐ ๋ชจ์–‘ ๋ฉ”๋‰ด ๋ฒ„ํŠผ */
.header__ham {
    position: absolute;
    right: 10px;
    top: 12px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    display: none;
    cursor: pointer;
}
.header__ham span {
    display: block;
    background: rgb(80, 80, 80);;
    width: 30px;
    height: 2px;
    border-radius: 3px;
    margin-left: 10px;
    margin-top: 5px;
    transition: 0.25s margin 0.25s, 0.25s transform;    /* margin์— ๋”œ๋ ˆ์ด */
}
.header__ham span:nth-child(1) {
    margin-top: 18px;
}
.header__ham.active span {
    transition: 0.25s margin, 0.25s transform 0.25s;    /* transform์— ๋”œ๋ ˆ์ด */
}

.header__ham.active span:nth-child(1) {
    margin-top: 25px;
    margin-bottom: -7px;
    transform: rotate(45deg);
}
.header__ham.active span:nth-child(2) {
    transform: rotate(45deg);
}
.header__ham.active span:nth-child(3) {
    transform: rotate(135deg);
    margin-top: -2px;
}

/* ๋ฐ˜์‘ํ˜• */
@media (max-width: 1300px) {
    .header__ham {
        display: block;
    }
    .header__member {
        margin-right: 50px;
    }
    .header__menu {
        position: fixed;
        right: -100%;
        top: 69px;
        background: #fff;
        width: 60%;
        height: 100vh;
        padding: 20px;
        text-align: right;
        transition: right 0.4s ease-in;
        font-size: 16px;
    }
    .header__menu ul li {
        display: block;
        margin: 20px;
    }
    .header__menu ul li a {
        padding: 10px;
        white-space: nowrap;
    }
    .header__menu.active {
        right: 0;
    }
    .header__menu.overlay {

    }
}

@media (max-width: 600px) {
    .header__logo {
        font-size: 24px;
    }
    .header__logo em {
        display: none;
    }
    .header__member {
        width: 40%;
    }
    .header__member a {
        padding: 8px 20px;
    }
}
์Šฌ๋ผ์ด๋“œ(swiper) ์˜์—ญ
/* swiper */
.swiper-slide {
    background: url(../img/sliderType/slider_bg01.jpg) no-repeat center / cover;
}
.swiper-slide .desc {
    width: 1160px;
    margin: 0 auto;
    padding: 100px 20px;
    box-sizing: border-box;
}
.swiper-slide .desc span {
    font-size: 16px;
    background: #fff;
    padding: 1px 14px 0 14px;
    border-radius: 30px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}
.swiper-slide .desc h3 {
    font-size: 85px;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
    margin-left: -8px;
    text-shadow: 0 0 5px #666;
}
.swiper-slide .desc p {
    font-size: 20px;
    font-weight: 300;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 60px;
    text-shadow: 0 0 5px #666;
}
.swiper-slide .desc .btn a {
    font-size: 16px;
    background: #fff;
    padding: 12px 40px;
    display: inline-block;
    transition: all 0.3s ease;
}
.swiper-slide .desc .btn a.black {
    background: rgb(60, 60, 60);
    color: #fff;
}
.swiper-slide .desc .btn a:hover {
    border-radius: 50px;
}

.swiper-button-next {
    background-position: -50px 0;
}
.swiper-button-next, .swiper-button-prev {
    width: 30px !important;
    height: 56px !important;
    background-image: url(../img/sliderType/slider_icon.svg);
}
.swiper-button-next:after, 
.swiper-button-prev:after {
    opacity: 0;
}

.swiper-pagination-bullet {
    width: 16px !important;
    height: 16px !important;
    background-image: url(../img/sliderType/slider_icon.svg) !important;
    background-position: -20px -70px !important;
    background-color: transparent !important;
    opacity: 1 !important;
}
.swiper-pagination-bullet-active {
    background-position: 0 -70px !important;
}

/* ๋ฐ˜์‘ํ˜• */
@media (max-width: 960px) {
    .swiper-slide .desc {
        width: 100%;
        text-align: center;
    }
    .swiper-slide .desc h3 {
        font-size: 70px;
    }
}

@media (max-width: 600px) {
    .swiper-slide .desc {
        padding: 80px 0;
    }
    .swiper-slide .desc h3 {
        font-size: 40px;
    }
    .swiper-slide .desc p {
        font-size: 16px;
        margin-bottom: 50px;
    }
    .swiper-slide .desc .btn a {
        padding: 10px 25px;
    }
}
์ด๋ฏธ์ง€ ์˜์—ญ
/* imageType */
#imageType > p {
    font-size: 22px;
    padding: 0 20px;
    word-break: keep-all;
    line-height: 1.6;
}

.image__inner {
    display: flex;
    justify-content: space-between;     /* ๊ฐ„๊ฒฉ ๋–จ์–ด๋œจ๋ฆฌ๊ธฐ */
    flex-wrap: wrap;
    width: 100%;
}
.image {
    width: 49%;
    height: 370px;
    padding: 200px 30px 30px 30px;
    color: #fff;
    box-sizing: border-box;
}
.image.img1 {
    background-image: url(../img/imageType/imageType01_bg01.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.image.img2 {
    background-image: url(../img/imageType/imageType01_bg02.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.image__title {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 0 0 4px rgb(80,80,80);
    /* 1์ค„ */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.image__desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 300;
    text-shadow: 0 0 4px rgb(80,80,80);
    /* 2์ค„ํšจ๊ณผ : ๊ธ€์ด ๋„˜์ณ๋„ 2์ค„์„ ๋„˜์ง€ ์•Š๋„๋ก ํ•ด์คŒ */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-right: 30px;
}
.image__btn {
    background: rgb(80,80,80);
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 300;
    display: inline-block;
    transition: all 0.3s ease;
}
.image__btn:hover {
    background: #fff;
    color: #000;
}

/* ๋ฐ˜์‘ํ˜• */
@media (max-width: 960px) {
    .image__inner .image {
        margin: 0 auto;
        width: 98%;
    }
    .image:first-child {
        margin-bottom: 30px;
    }
    #imageType > h2 {
        font-size: 40px;
    }
    #imageType > p {
        font-size: 18px;
        margin-bottom: 60px;
    }
}

@media (max-width: 600px) {
    #imageType > h2 {
        font-size: 30px;
    }
    #imageType > p {
        font-size: 16px;
        margin-bottom: 50px;
    }
    .image__inner .image {
        width: 96%;
        margin: 0 auto;
        padding: 210px 20px 20px 20px;
    }
    .image:first-child {
        margin-bottom: 20px;
    }
    .image__title {
        font-size: 24px;
    }
}
์ด๋ฏธ์ง€/ํ…์ŠคํŠธ ์˜์—ญ
/* imgTextType */
.imgText__inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.imgText__inner > div {
    width: 32%;
    /* height: 500px; */
}
.imgText__txt {}
.imgText__txt span {
    font-size: 16px;
    color: #666;
    text-decoration: underline;
    text-underline-position: under;
    margin-bottom: 20px;
    display: block;
}
.imgText__txt h3 {
    font-size: 50px;
    font-weight: 300;
    margin-bottom: 10px;
}
.imgText__txt p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    color: #666;
    margin-bottom: 40px;
}
.imgText__txt ul {
    font-size: 18px;
    font-weight: 300;
    line-height: 2;
}
.imgText__txt ul li {        
    position: relative;
    padding-left: 20px;
}
.imgText__txt ul li a {
    color: #666;
}
.imgText__txt ul li a:hover {
    text-decoration: underline;
}
.imgText__txt ul li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 9px;
    background: #666;
}
.imgText__img {
    border-radius: 10px;
    position: relative;
}
.imgText__img a {
    position: absolute;
    left: 30px;
    bottom: 30px;
    background-color: rgb(136, 119, 74);
    color: #fff;
    font-size: 16px;
    padding: 8px 25px;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s ease;
}
.imgText__img a.blue {
    background-color: rgb(45, 83, 69);
    color: #fff;
}
.imgText__img a:hover, 
.imgText__img a.blue:hover {
    background-color: #fff;
    color: rgb(80, 80, 80);
}

.imgText__img.img1 {
    background: url(../img/imgTextType/imgText_bg01.jpg) no-repeat center / cover;
}
.imgText__img.img2 {
    background: url(../img/imgTextType/imgText_bg02.jpg) no-repeat center / cover;
}

/* ๋ฐ˜์‘ํ˜• */
@media (max-width: 960px) {
    .imgText__inner {
        flex-wrap: wrap;
    }
    .imgText__inner > .imgText__txt {
        width: 96%;
        height: auto;
        text-align: center;
        margin: 0 auto;
    }
    .imgText__inner > .imgText__img {
        width: 48%;
        height: 300px;
        padding: 10px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .imgText__txt > h3 {
        font-size: 40px;
    }
    .imgText__txt > p {
        margin-bottom: 60px;
    }
    .imgText__txt ul {
        display: none;
    }
    .imgText__txt ul li::before {
        display: none;
    }
    .imgText__img a {
        left: 20px;
        bottom: 20px;
    }
}

@media (max-width: 600px) {
    .imgText__inner > .imgText__txt {
        margin-bottom: 20px;
    }
    .imgText__inner > .imgText__img {
        width: 96%;
        height: 200px;
    }
    .imgText__inner > .imgText__img.img1 {
        margin-bottom: 20px;
    }
    .imgText__txt > span {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .imgText__txt > h3 {
        font-size: 30px;
    }
    .imgText__txt > p {
        font-size: 16px;
    }
    .imgText__txt ul {
        font-size: 16px;
    }
}
์นด๋“œ ์˜์—ญ
/* cardType */
.card__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;     /* ๊ฐ„๊ฒฉ ๋–จ์–ด๋œจ๋ฆฌ๊ธฐ */
}
.card {
    width: 32%;
    background: #fff;
}
.card__body {
    padding: 24px;
    background: #f5f5f5;
}
.card__body .title {
    font-size: 22px;
    padding-bottom: 10px;
    /* ํ•œ ์ค„ ํšจ๊ณผ */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 30px;    /* ์ œ๋ชฉ ๊ธธ์–ด์ ธ๋„ ํ•œ ์ค„ ์œ ์ง€ */
}
.card__body .desc {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    padding-bottom: 20px;
    color: #666;
    /* 4์ค„ํšจ๊ณผ : ๊ธ€์ด ๋„˜์ณ๋„ 4์ค„์„ ๋„˜์ง€ ์•Š๋„๋ก ํ•ด์คŒ */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;  /* 4์ค„๊นŒ์ง€ ์ œํ•œ */
    -webkit-box-orient: vertical;
}

/* ๋ฐ˜์‘ํ˜• */
@media (max-width: 960px) {
    .card__inner {
        justify-content: space-around;
    }
    #cardType > h2 {
        font-size: 40px;
    }
    #cardType > p {
        font-size: 18px;
        line-height: 1.6;
    }
    .card__body .desc {
        margin-bottom: 16px;
        /* 3์ค„ํšจ๊ณผ */
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        padding-bottom: 0;
    }
}

@media (max-width: 600px) {
    #cardType > h2 {
        font-size: 30px;
    }
    #cardType > p {
        font-size: 16px;
        padding: 0px 20px;
    }
    .card__inner .card {
        width: 96%;
        margin-bottom: 20px;
    }
    .card__body {
        padding: 20px;
    }
    .card__body .title {
        font-size: 20px;
    }
    .card__body .desc {
        font-size: 16px;
    }
}
๋ฐฐ๋„ˆ ์˜์—ญ
/* bannerType */
.banner__inner {
    background-image: url(../img/bannerType/banner_bg01.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    padding: 120px 0;
    color: #fff;
}
.banner__inner .title {
    font-size: 50px;
    line-height: 1;
    font-weight: 300;
    margin-bottom: 40px;
}
.banner__inner .desc {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 300;
}
.banner__inner .desc a {
    color: #fff;
    display: block;
}
.banner__inner .desc a:hover {
    text-decoration: underline;
}
.banner__inner .small {
    font-size: 16px;
    text-decoration: underline;
}

@media (max-width: 960px) {
    .banner__inner {
        padding: 100px 0;
    }
    .banner__inner .title {
        font-size: 40px;
    }
    .banner__inner .desc {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .banner__inner {
        padding: 80px 0;
    }
    .banner__inner .title {
        font-size: 30px;
        margin-bottom: 20px;
    }
    .banner__inner .desc {
        font-size: 16px;
    }
}
ํ…์ŠคํŠธ ์˜์—ญ
/* textType */
.text__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.text {
    width: 32%;
    margin-bottom: 2%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    transition: background-color 0.4s ease;
}
.text:hover {
    background-color: #f5f5f5;
}
.text__title {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    position: relative;
    padding-top: 75px;
}
.text__title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: url(../img/textType/text_icon.svg);
}
.text.t1 .text__title::before {
    background-position: 0 0;
}
.text.t2 .text__title::before {
    background-position: -60px 0;
}
.text.t3 .text__title::before {
    background-position: -120px 0;
}
.text.t4 .text__title::before {
    background-position: -180px 0;
}
.text.t5 .text__title::before {
    background-position: -240px 0;
}
.text.t6 .text__title::before {
    background-position: -300px 0;
}
.text__desc {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;

    /* 3์ค„ํšจ๊ณผ : ๊ธ€์ด ๋„˜์ณ๋„ 4์ค„์„ ๋„˜์ง€ ์•Š๋„๋ก ํ•ด์คŒ */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;  /* 3์ค„๊นŒ์ง€ ์ œํ•œ */
    -webkit-box-orient: vertical;

    color: #666;
    margin-bottom: 20px;
}
.text__btn {
    font-size: 16px;
    line-height: 1;
    text-decoration: underline;
    text-underline-position: under; /* ํ…์ŠคํŠธ์™€ ์–ธ๋”๋ผ์ธ ๊ฐ„๊ฒฉ ๋ฒŒ๋ ค์คŒ */
    color: #666;
}

/* ๋ฐ˜์‘ํ˜• */
@media (max-width: 960px) {
    .text {
        width: 48%;
        margin: 10px auto;
        background: #f5f5f5;
    }
    #textType > h2 {
        font-size: 40px;
    }
    .text__title {
        font-size: 22px;
    }
    .text__desc {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    #textType > h2 {
        font-size: 30px;
    }
    .text__title {
        font-size: 20px;
    }
    .text__desc {
        font-size: 16px;
    }
    .text {
        width: 96%;
        margin: 10px auto;
    }
}
ํ‘ธํ„ฐ ์˜์—ญ
/* footerType */
.footer__menu {
    padding-bottom: 70px;
    display: flex;
    justify-content: space-between;
}
.footer__menu > div h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
.footer__menu li a {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: block;
}
.footer__right {
    border-top: 1px solid #d9d9d9;
    text-align: center;
    padding-top: 40px;
    color: #666;
    line-height: 1.5;
}

/* ๋ฐ˜์‘ํ˜• */
@media (max-width: 960px) {
    .footer__menu {
        display: none;
    }
    .footer__right {
        padding-top: 0;
        border-top: 0;
    }
    .footer__wrap {
        padding: 40px 0;
    }
}

CSS ์†Œ์Šค : ๋ฐ˜์‘ํ˜• ๋ฒ„๊ทธ ํ•ด๊ฒฐํ•˜๊ธฐ

๋ฐ˜์‘ํ˜•(๋ชจ๋ฐ”์ผ, ํƒœ๋ธ”๋ฆฟ PC ์ „์šฉ ํ™”๋ฉด) ๋ฒ„๊ทธ๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด ์•„๋ž˜์™€ ๊ฐ™์€ ์ฝ”๋“œ๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์—ˆ๋‹ค.

<style>
    /* Windows์—์„œ ํŽ˜์ด์ง€ ์ด๋™ ์‹œ ์›น๋ทฐํ™”๋ฉด ํ”๋“ค๋ฆผ ๋ฒ„๊ทธ ์—†์• ์คŒ */
    body{
        overflow: overlay;
    }

    /* ํ–„๋ฒ„๊ฑฐ ๋ชจ์–‘ ๋ฉ”๋‰ด ํด๋ฆญ ์‹œ ์Šคํฌ๋กค๋ฐ”๋ฅผ ์—†์• ์คŒ */
    body.fixed {
        overflow: hidden;
        height: 100vh;
    }
</style>

JS ์†Œ์Šค

์ฒซ๋ฒˆ์งธ๋กœ๋Š” ์Šคํฌ๋กค์„ ์ด๋™ํ•  ๋•Œ๋งˆ๋‹ค ํ˜„์žฌ ์œ„์น˜ํ•œ ๋ฉ”๋‰ด์— active ํšจ๊ณผ๋ฅผ ์ ์šฉ์‹œํ‚ค๋Š” ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์ž…๋ ฅํ•˜์˜€๊ณ , ๋‘๋ฒˆ์งธ๋Š” ์Šคํฌ๋กค ์ด๋™์„ ๋ถ€๋“œ๋Ÿฝ๊ฒŒ ํ•˜๊ธฐ ์œ„ํ•ด behavior:"smooth"๋ฅผ ์ ์šฉํ•˜์˜€์œผ๋ฉฐ, ๋งˆ์ง€๋ง‰์œผ๋กœ๋Š” ๋ฐ˜์‘ํ˜• ์ „์šฉ ํ–„๋ฒ„๊ฑฐ ๋ชจ์–‘ ๋ฉ”๋‰ด ๋ฒ„ํŠผ๊ณผ ํ•ด๋‹น ๋ฒ„ํŠผ์„ ํด๋ฆญ(๋˜๋Š” ํ„ฐ์น˜)ํ•˜๋ฉด ๋ฉ”๋‰ด ๋ฐ”๋ฅผ ๋‚˜ํƒ€๋‚˜๊ฒŒ ํ•˜๊ณ , X ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ์‚ฌ๋ผ์ง€๊ฒŒ ํ•˜๋„๋ก ์Šคํฌ๋ฆฝํŠธ๋ฅผ ์งœ ๋†“์•˜๋‹ค.

<script>
    window.addEventListener("scroll", () => {
        let scrollTop = window.pageYOffset || window.scrollY || document.documentElement.scrollTop;

        document.querySelectorAll(".scroll").forEach((element, index) => {
            if(scrollTop >= element.offsetTop-500){
                document.querySelectorAll(".header__menu li").forEach(li => {
                    li.classList.remove("active");
                });
                document.querySelector(".header__menu li:nth-child("+(index+1)+")").classList.add("active");
            };
        });
    });

    // ์Šคํฌ๋กค ์ด๋™
    document.querySelectorAll("#headerType .header__inner .header__menu li a").forEach(li => {
        li.addEventListener("click", (e) => {
            e.preventDefault();
            document.querySelector(li.getAttribute("href")).scrollIntoView({
                behavior: "smooth"  // ์ด๋™ ๋ถ€๋“œ๋Ÿฝ๊ฒŒ
            });
        });
    });

    // ๋ฉ”๋‰ด ๋ฒ„ํŠผ (๋ฐ˜์‘ํ˜•)
    const btnHam = document.querySelector(".header__ham");
    const btnMenu = document.querySelector(".header__menu");
    const btnMenuList = btnMenu.querySelectorAll(".header__menu ul li a");

    btnHam.addEventListener("click", () => {
        btnHam.classList.toggle("active");
        btnMenu.classList.toggle("active");
        document.body.classList.toggle("fixed");
    });

    // ๋ฐ˜์‘ํ˜•์—์„œ ๋ฉ”๋‰ด ๋ฒ„ํŠผ ๋ˆ„๋ฅด๋Š” ์ฆ‰์‹œ ๋ฉ”๋‰ด์ฐฝ ๋‹ซํžˆ๊ฒŒ ํ•˜๊ธฐ
    btnMenuList.forEach((list) => {
        list.addEventListener("click", () => {
            document.body.classList.remove("fixed");
            btnHam.classList.remove("active");
            btnMenu.classList.remove("active");
        });
    });
</script>

์ตœ์ข… ๊ฒฐ๊ณผ

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€


Reference Book

JavaScript
HTML
CSS
๊ด‘๊ณ  ์ค€๋น„์ค‘์ž…๋‹ˆ๋‹ค.