Direct link to the article padding-block

padding-block

padding-block is a CSS logical shorthand property that combines the padding-block-start and padding-block-end properties into a single declaration, creating space around an element’s content in the block (top and bottom) direction.

.element {
  padding-block: 30px 60px;
  writing-mode: vertical-rl; /* Determines 
Avatar of Joel Olawanle
Joel Olawanle on (Updated on )
Keep browsing in the archives