Horje
padding css Code Example
css padding
padding: 5px 10px 15px 20px; //top right bottom left

padding: 10px 20px;//top & bottom then left & right

padding-top: 5px; //just top padding
padding-right: 10px; //just right padding
padding-bottom: 15px; //just bottom padding
padding-left: 20px; //just left padding
padding css
Padding is the defined space around an element
/* Here is how it works */
padding: 10px; /* for all sides i.e. top, bottom, right, left */
padding: 10px 5px; /* top & bottom , right & left */
padding: 10px 5px 15px; /* top, right & left, bottom */
padding: 10px 5px 15px 20px; /* top, right, bottom, left */(clockwide-rotation)
/* Each side can be defined individually */
padding-top: 10px; 
padding-right: 5px;
padding-bottom: 15px;
padding-left: 20px;
padding css
padding:10px 5px 15px 20px;
means
top padding is 10px
right padding is 5px
bottom padding is 15px
left padding is 20px
html padding
<h2 style="padding-top: 20px; padding-right: 20px; padding-bottom: 20px; padding-left: 20px">London</h2>
css padding
padding: 5px 10px 15px; //top then left & right then bottom
padding css
.box {
  padding: <padding-top> || <padding-right> || <padding-bottom> || <padding-left>
}




Css

Related
disable checkbox click event Code Example disable checkbox click event Code Example
custom horizontal scrollbar css Code Example custom horizontal scrollbar css Code Example
rust get current date Code Example rust get current date Code Example
css loading spinner with text Code Example css loading spinner with text Code Example
simple css reset Code Example simple css reset Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8