Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<title>W3.CSS</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<body>
<div class="w3-container">
  <h1>Using w3-margin</h1>
  <div class="w3-border">
    <div class="w3-container w3-margin w3-green">
      <p>The w3-margin class adds 16px margin to all sides of an element.</p>
    </div>
  </div>
</div>
</body>
</html>