@jeff0526Submitted about 1 year ago
still confuse about padding, margin and gap
still confuse about padding, margin and gap
-padding is the space between the content of an element and its border. -margin is the space outside the border of an element. -gap is a property used in CSS Grid and Flexbox layouts to specify the space between grid items or flex items respectively.