home2 ๊ฒŒ์‹œํŒ HTML/CSS ๊ฒŒ์‹œํŒ form ์ˆ™์ œ ์งˆ๋ฌธ2

form ์ˆ™์ œ ์งˆ๋ฌธ2

  • ์ด ์ฃผ์ œ์—๋Š” 1๊ฐœ ๋‹ต๋ณ€, 2๋ช… ์ฐธ์—ฌ๊ฐ€ ์žˆ์œผ๋ฉฐ codingapple๊ฐ€ 1 ๋…„, 6 ์›” ์ „์— ์ „์— ๋งˆ์ง€๋ง‰์œผ๋กœ ์—…๋ฐ์ดํŠธํ–ˆ์Šต๋‹ˆ๋‹ค.
2 ๊ธ€ ๋ณด์ž„ - 1 ์—์„œ 2 ๊นŒ์ง€ (์ด 2 ์ค‘์—์„œ)
  • ๊ธ€์“ด์ด
    ๊ธ€
  • #124146

    ๊น€๋‹ค์„ 
    ์ฐธ๊ฐ€์ž
    message์™€ firs name ํผ ์‚ฌ์ด์˜ ๊ฐ„๊ฒฉ์„ ์ ์šฉํ•˜๊ณ  ์‹ถ์€๋ฐ,
    ์ ์šฉ์ด ์•ˆ๋ฉ๋‹ˆ๋‹ค. 
    
       ์งˆ๋ฌธ0526
    
    
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <link href="css/main.css" rel="stylesheet">
    </head>
    <body>
        <div class="main_box">
            <div class="sub_box">
                <h1>contact us</h1>
                <form>
                    <div>
                    <h3>Your Email</h3>
                    <input class="main-email" type="email" placeholder="das@gmail.com">
                    </div>
                    
                    <div class = "first-name">
                        <h3>First name</h3>
                        <input  type="text">
                    </div>
                    <div class = "last-name">
                        <h3>Last name</h3>
                        <input  type="text">
                    </div>
                    <div style = "clear : both"></div>
                    <div class="message clear-both">
                        <h3>Message</h3>
                        <textarea class="msg-textarea"></textarea>
                    </div>
                    <br>
                    <div class="check-box">
                        <input type="checkbox">Subscribe
                    </div>
                    <div>
                        <button class="main-button">send</button>
                    </div>
    
    
                </form>
            </div>
        </div>
    </body>
    </html>
    
    
    *{
        margin: 0;
        box-sizing: border-box;
        }
    div{
        margin-top:10px;
    }
    body{
        margin : 0px;
    }
    .main_box{
        width :450px;
        height : 800px;
        background: #eeee;
        position : relative;
        margin-top : 0px;
    }
    .sub_box{
        width : 90%;
        height : 90%;
        background: #eeee;
        position : block;
        margin-left: auto;
        margin-right: auto;
        margin: auto;
    }
    .main-email{
        width: 100%;
        margin: auto;
    }
    .first-name{
        float : left;
        padding-right: 15px;
    }
    .last-name{
        float : right;
    }
    .check-box{
        float : left;
    }
    .main-button{
        background-color: #ff9900; /* ์ฃผํ™ฉ์ƒ‰ ๋ฐฐ๊ฒฝ */
        border: none; /* ํ…Œ๋‘๋ฆฌ ์ œ๊ฑฐ */
        color: white; /* ํ…์ŠคํŠธ ์ƒ‰์ƒ */
        padding: 10px 20px; /* ์•ˆ์ชฝ ์—ฌ๋ฐฑ */
        text-align: center; /* ํ…์ŠคํŠธ ๊ฐ€์šด๋ฐ ์ •๋ ฌ */
        text-decoration: none; /* ์–ธ๋”๋ผ์ธ ์ œ๊ฑฐ */
        font-size: 16px; /* ํฐํŠธ ํฌ๊ธฐ */
        font-weight: bold; /* ํฐํŠธ ๊ตต๊ธฐ */
        text-transform: uppercase; /* ๋ชจ๋“  ํ…์ŠคํŠธ๋ฅผ ๋Œ€๋ฌธ์ž๋กœ ๋ณ€ํ™˜ */
        cursor: pointer;
        float : right;   
    }
    .message-wrap {
        clear: both;
        margin-top: 10px;
    }
    .message-textarea {
        width: 100%;
    }
    #124168

    codingapple
    ํ‚ค ๋งˆ์Šคํ„ฐ
    margin-top์„ ๋” ๋†’๊ฒŒ ์ค˜๋ด…์‹œ๋‹ค
2 ๊ธ€ ๋ณด์ž„ - 1 ์—์„œ 2 ๊นŒ์ง€ (์ด 2 ์ค‘์—์„œ)
  • ๋‹ต๋ณ€์€ ๋กœ๊ทธ์ธ ํ›„ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

About

ํ˜„์žฌ ์›” 700๋ช… ์‹ ๊ทœ์ˆ˜๊ฐ•์ค‘์ž…๋‹ˆ๋‹ค.

  (09:00~20:00) ๋น ๋ฅธ ์ƒ๋‹ด์€ ์นดํ†ก ํ”Œ๋Ÿฌ์Šค์นœ๊ตฌ ์ฝ”๋”ฉ์• ํ”Œ (๋งํฌ)
  admin@codingapple.com
  ์ด์šฉ์•ฝ๊ด€, ๊ฐœ์ธ์ •๋ณด์ฒ˜๋ฆฌ๋ฐฉ์นจ
โ“’ Codingapple, ๊ฐ•์˜ ์˜ˆ์ œ, ์˜์ƒ ๋ณต์ œ ๊ธˆ์ง€
top

ยฉ Codingapple, All rights reserved. ์Šˆํผ๋กœ์ผ“ ์—๋“€์ผ€์ด์…˜ / ์„œ์šธํŠน๋ณ„์‹œ ๊ฐ•๋™๊ตฌ ๊ณ ๋•๋กœ 19๊ธธ 30 / ์‚ฌ์—…์ž๋“ฑ๋ก๋ฒˆํ˜ธ : 212-26-14752 ์˜จ๋ผ์ธ ๊ต์œกํ•™์›์—… / ํ†ต์‹ ํŒ๋งค์—…์‹ ๊ณ ๋ฒˆํ˜ธ : ์ œ 2017-์„œ์šธ๊ฐ•๋™-0002 ํ˜ธ / ๊ฐœ์ธ์ •๋ณด๊ด€๋ฆฌ์ž : ๋ฐ•์ข…ํ