margin-bottom : the percentage as specified or the absolute length. margin-left : the percentage as specified or the absolute length. margin-right : the percentage as specified or the absolute length. margin-top : the percentage as specified or the absolute length.17 juil. 2023
Description.
The marginBottom property sets or returns the bottom margin of an element.
Both the margin property and the padding property insert space around an element.
However, the difference is that margin inserts the space around the border, while padding inserts the space within the border of an element.
The margin-block CSS shorthand property defines the logical block start and end margins of an element, which maps to physical margins depending on the element's writing mode, directionality, and text orientation.