“bloco de preenchimento” Respostas de código

CSS de bloco de preenchimento

/*
	Padding block is analogous to padding-top and padding-bottom
	in a horizontal writing mode. But it behaves like padding-left
	and padding-right in a vertical writing mode.
	Reference: https://codepen.io/wissamfawaz/pen/mdqgqgd
*/
.text {
  background: #fff;
  border: 3px dashed #ff7a18;
  /* 20px will be added to top and bottom if text is horizontal
  	 20px will be added to left and right if text is vertical
  */
  padding-block: 20px; 
}


Wissam

bloco de preenchimento

padding-block : 20px; /* it will only apply on top and bottom of the element*/
padding-block-start : 20px; /* it will only apply on top  of the element*/
padding-block-end : 20px; /* it will only apply on bottom of the element*/
Nazmul Hassan

preenchimento

padding: top right bottom left;
Obnoxious Osprey

preenchimento

Padding is how much an element is away from itself — 
how much distance an element wants to keep with the elements inside it.
Successful Sheep

preenchimento

padding: <padding-top> || <padding-right> || <padding-bottom> || <padding-left>

/* shorthand padding*/
.box {
  padding: 20px;
}

/* The same padding written longhand */
.box {
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
}
Gorgeous Goldfinch

preenchimento

<ui5-table mode="MultiSelect"></ui5-table>
Precious Pelican

Respostas semelhantes a “bloco de preenchimento”

Perguntas semelhantes a “bloco de preenchimento”

Procure respostas de código populares por idioma

Procurar outros idiomas de código