Sascha Schulz
2024-12-09 38ddab2438b18a73546cd6f6d499ee436002bb19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Box Model</title>
        <style>
            div {
                color: white;
                border: 3px solid red;
                padding: 10px;
                width: 100px;
                margin-bottom: 10px;
            }
 
            .border-box {
                box-sizing: border-box;
            }
 
            .content-box {
                box-sizing: content-box;
            }
        </style>
    </head>
    <body>
        <div class="content-box">content-box</div>
        <div class="border-box">border-box</div>
    </body>
</html>