Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

CSS Box Model

THE BOX MODEL:
- Height : default: 0 / height of the content; 
- Width : the width that element needs, pushes other elements to side
- Margin : Outside space of an element that pushes other things away from the element
- Padding : Inside space of an element that pushes elements away from the border.
- Border : Outline for an element, outside the element eg.(300px*300px) add border: 303px*303px
Source by madni.hashnode.dev #
 
PREVIOUS NEXT
Tagged: #CSS #Box #Model
ADD COMMENT
Topic
Name
4+4 =