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

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

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

    ๊น€๋‹ค์„ 
    ์ฐธ๊ฐ€์ž
    Last name ์œ„์— ์ž…๋ ฅ์นธ์„ 100%๋กœ ์„ค์ •ํ–ˆ๋Š”๋ฐ, 
    ๋…ธ๋ž€์ƒ‰ ๋ถ€๋ถ„๊นŒ์ง€ ํŠ€์–ด๋‚˜์˜ค๋Š”๋ฐ ์›์ธ์„ ๋ชป ์ฐพ๊ฒ ์Šต๋‹ˆ๋‹ค.
    
    .main-email{
        width: 100%;
        margin: auto;
    }
      ์Šคํฌ๋ฆฐ์ƒท 2024-05-26 122256
    
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="UTF-8">
        <title>Document</title>
        <link href="css/main.css" rel="stylesheet">
        <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>
                        <h3>Message</h3>
                        <textarea></textarea>
                    </div>
                    <br>
                    <div class="check-box">
                        <input type="checkbox">Subscribe
                    </div>
                    <div>
                        <button class="main-button">send</button>
                    </div>
     
                </form>
            </div>
        </div>
    </head>
    
    
    
    .main_box{
        width :450px;
        height : 800px;
        background: #eeee;
        position : relative;
    }
    .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;   
    }
    • ์ด ๊ฒŒ์‹œ๊ธ€์€ ๊น€๋‹ค์„ ์— ์˜ํ•ด 1 ๋…„, 9 ์›” ์ „์— ์ˆ˜์ •๋์Šต๋‹ˆ๋‹ค.
    #124167

    codingapple
    ํ‚ค ๋งˆ์Šคํ„ฐ
    input์— box-sizing ์†์„ฑ ์กฐ์ ˆํ•ด๋ด…์‹œ๋‹ค
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 ํ˜ธ / ๊ฐœ์ธ์ •๋ณด๊ด€๋ฆฌ์ž : ๋ฐ•์ข…ํ