You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reset margins built into typography elements or other components with `m-0`, `mt-0`, `mr-0`, `mb-0`, `ml-0`, `mx-0`, and `my-0`.
96
96
97
97
```html live
98
-
<divclass="bg-yellow border">
99
-
<pclass="mb-0 bg-gray p-1">No bottom margin on this paragraph.</p>
98
+
<divclass="color-bg-warning border">
99
+
<pclass="mb-0 color-bg-secondary p-1">No bottom margin on this paragraph.</p>
100
100
</div>
101
101
```
102
102
@@ -105,21 +105,21 @@ Reset margins built into typography elements or other components with `m-0`, `mt
105
105
All margin utilities can be adjusted per [breakpoint](/objects/grid#breakpoints) using the following formula: `m[direction]-[breakpoint]-[spacer]`. Each responsive style is applied to the specified breakpoint and up.
You can add negative margins to the top, right, bottom, or left of an item by adding a negative margin utility. The formula for this is: `m[direction]-n[spacer]`. This also works responsively, with the following formula: `m[direction]-[breakpoint]-n[spacer]`.
117
+
You can add negative margins to the top, right, bottom, or left of an item by adding a negative margin utility. The formula for this is: `m[direction]-n[spacer]`, where `spacer` runs from `1` to `6`. This also works responsively, with the following formula: `m[direction]-[breakpoint]-n[spacer]`.
0 commit comments