Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<style>
p {
  border: 1px solid black;
  background-color: rgb(218, 246, 255);
}
p.ex1 {
  padding-block: 35px;
}
</style>
</head>
<body>
<h1>The padding-block Property</h1>
<p class="ex1">This paragraph has a padding of 35 pixels on both sides in the block direction.</p>
<p>This paragraph has no specified padding.</p>
</body>
</html>