“Padding-Block-CSS” Code-Antworten

Padding-Block-CSS

/*
	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

Polsterblock

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

Ähnliche Antworten wie “Padding-Block-CSS”

Fragen ähnlich wie “Padding-Block-CSS”

Weitere verwandte Antworten zu “Padding-Block-CSS” auf CSS

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen