mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-25 14:01:29 -05:00
fix(curriculum): Incorrect margin collapsing example value in curriculum (#63332)
This commit is contained in:
@@ -86,7 +86,7 @@ If an element has no content, padding, or border, its top and bottom margins can
|
||||
|
||||
:::
|
||||
|
||||
In this example the `empty-block`s top and bottom margins collapse into a single 30 pixels margin, the larger of the two.
|
||||
In this example, the `empty-block`'s top and bottom margins collapse into a single 20 pixels margin, the larger of the two.
|
||||
|
||||
Here's another example of preventing collapse using padding:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user