Basic Css Terms
PADDING and MARGIN:-- Padding is the space between an element's border and the content of the element. While the margin is the space around an element’s border. We use padding when we are adjusting the look of an individual element, and we use margins when we are adjusting the spacing of an element about another element.
DISPLAY IN CSS:-- Display property sets the display of behavior of the element. It sets the element’s inner and outer display types.
# Display inline means that the element is displayed inline, on the same line. It tells the element to fit itself on the same line.
# Display block means that the element is displayed in a block, in separate lines. It tells the element to fill the entire line, and nothing can be displayed on its left and right sides.
# Display inline-block means that the display is inline by the presentation. But it added an advantage for us in that we can apply width and height to it, which we can’t do inline.
Min Height – In CSS min-height specify element minimum height. It can exceed its height but cannot decrease its height to less than the minimum height given.
Min Width– In CSS min-width specifies the element's minimum width. It can exceed its width but cannot decrease its width to less than the minimum width given.
Max Height – In CSS max height specifies the element's maximum height. It cannot exceed its height more than the given term but it can decrease its height as per its need.
Max Width– In CSS max-width specifies the element's maximum width. It cannot exceed its width more than the given term but it can decrease its width as per its need.