Documentation
Header

.header

The header rule gets declared specifically because it is handled differently in the responsive media queries. In future updates this class will be used as a reference point for JavaScript to add and manipulate the header and it’s elements automatically. It is one of only two rules that align items in a row vs. aligning them in a column. It will by default be 100% the width of the screen and at least 64px in height, however the height will adjust depending on what you put inside of it. Header

Compatible Child Blocks

  • .column: for a more rigidly structured header, columns offer the ability to define exact sizing and alignment. Using adjusters, you can size your columns to any width under 12 and choose how to align and justify them.
  • .card: A card will grow to accommodate the size of its child objects. In most cases, the child object’s size will need to be specified in pixels to adjust the cards size.

Compatible Adjusters

AdjusterTargetDescription
.align-stretchChildrenWill cause all children to expand to the full height of the block
.align-endChildrenAligns children to the vertical end of the block
.align-centerChildrenAligns children to the vertical center of the block
.align-baselineChildrenAligns children to the vertical baseline
.justify-stretchChildrenWill cause all children to expand and use the remaining free space in the width of the block
.justify-endChildrenAligns children to the vertical end of the block in order
.justify-centerChildrenAligns children to the vertical center of the block in order
.justify-baselineChildrenAligns children to the vertical baseline in order
.gap-noneChildrenRemoves the gap between child items
.gap-smallChildrenCreates a small gap between child elements
.gap-mediumChildrenCreates a medium gap between child elements
.gap-largeChildrenCreates a large gap between child elements
.pad-noneSelfRemoves all padding from itself
.pad-smallSelfAdd a small padding around the inside border of itself
.pad-mediumSelfAdd a medium padding around the inside border of itself
.pad-largeSelfAdd a large padding around the inside border of itself