boxmodel - govl2233/project_studyej GitHub Wiki

boxmodel

(잘 이해해야 λ ˆμ΄μ•„μ›ƒμ„ μž˜λ§Œλ“€μˆ˜μžˆμŒ)


  • width : λ„ˆλΉ„ (κ°€λ‘œ)

     <title>Document</title>
     <style>
        .menu{border:1px #F00 solid;
         width:350px;
         }
    
    

.menu div{ border:1px #F00 solid; width:auto; ----------------->μ‚¬μ΄μ¦ˆμ— 맞게 μžλ™μœΌλ‘œ λ§Œλ“€μ–΄μ£ΌλŠ” μ—­ν• (λΆ€λͺ¨λ§ŒνΌ μ»€μ§€λŠ”) margin:20px; } </style>

⚠️ **GitHub.com Fallback** ⚠️