Global margin reset
For all elements, Bootstrap 4 resets margin-top
to 0
while keeping a consistent margin-bottom
value on all elements.
For example, headings have margin-bottom: .5rem
added, and paragraphs have margin-bottom: 1rem
for easy spacing.
Get JavaScript: Moving to ES2015 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.