Skip to main content

Section

Define areas of a page

Applies to any elements of type or class section

Default​

Item 1
Item 2
<section class="border">
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
</section>

Variants​

classdescription
borderadds 2px border to top and bottom
ttbdisplay content top to bottom
bttdisplay content bottom to top
ltrdisplay content left to right
rtldisplay content right to left
Item 1
Item 2
Item 1
Item 2
Item 1
Item 2
<section class="ltr bg-violet">
<div>Item 1</div>
<div>Item 2</div>
</section>

<section class="rtl bg-coral">
<div>Item 1</div>
<div>Item 2</div>
</section>

<section class="btt bg-lemon border">
<div>Item 1</div>
<div>Item 2</div>
</section>
tip

Defaults to an clear background with purple text but customisable with all 6 key futureproof colors