Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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;
 
PREVIOUS NEXT
Tagged: #padding #css
ADD COMMENT
Topic
Name
3+2 =