Padding, Border, Margin · CSS

Ch 2 · The Box Model — card 1 of 3.

Every element is a box: content → padding → border → margin. padding is space inside the border, border is the line drawn around the padding, and margin is space outside the border.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>My Page</title>
    <style>
      body { background: #eef2ff; }
      .card {
        background: white;
        max-width: 320px;
        margin: 40px auto;
        padding: 24px;
        border: 3px solid #6366f1;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
      }
    </style>
  </head>
  <body>
    <div class="card">
      <h2>Welcome</h2>
      <p>Style this card with the box model.</p>
    </div>
  </body>
</html>

Which property adds space INSIDE the border?