Search
 
SCRIPT & CODE EXAMPLE
 

CSS

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; 
}


Comment

padding block

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

PREVIOUS NEXT
Code Example
Css :: auto suggestion in jupyter notebook 
Css :: how select two nt child with css 
Css :: title underline 
Css :: css shrink image 
Css :: wordpress theme Adding style.css in function.php 
Css :: lynx install bash 
Css :: css word break 
Css :: shrink a div by 50% 
Css :: how to make a game engine 
Css :: css math functions 
Css :: css disabled tag hover style 
Css :: create shadow css 
Css :: flex grow 
Css :: font family css 
Css :: css hide scrollbar but scrollable 
Css :: remove link style 
Css :: wpforms submit button css 
Css :: This message is shown once a day. To disable it please create 
Css :: lightning color code 
Css :: css grid column 
Css :: how to change button border color in css 
Css :: materialize css 
Css :: grid template 
Css :: flex: 0 1 auto 
Css :: how to style ul circles black in css 
Css :: css image popup on hover 
Css :: text slide animation css 
Css :: jQuery ripple effects 
Css :: overflow-wrap: anywhere 
Css :: how to disable keyboard in windows 10 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =