51黑料不打烊

Sections

Notes:

Sections are the top level grouping mechanism in documents, think of them as containers for a set of default content and blocks. Learn more about the Document Structure here.

Sections are separated by 鈥淗orizontal Rules鈥 or 鈥 to group certain elements of a page together. There may be both semantic and design reasons to group content together, a simple case could be that a section of a page has a different background color.

Technically a section just introduces a <div> wrapper in the markup delivered around all the blocks and default content contained in the section.

Example:

Content Structure:

Code:

In most cases generic sections don鈥檛 have much styling code beyond project specific box layout (eg. margins, padding, max-width) and are sometimes augmented with section metadata to control styling (often background colors or images).

recommendation-more-help
10a6ce9d-c5c5-48d9-8ce1-9797d2f0f3ec