MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

sabernhardt

Member since
sabernhardt

Recent Docs Activity

View all activity
Page Date Comment

box-pack


In the example, the child element (p) was given a width to show centering, but the parent div also needs a declared width (specifically larger) to make that clear.