Skip to main content
v1.0.2

Blockhead

An Atomic CSS Framework for Webflow
Grid & Layout
Blockhead's layout components are meant to be flexible, predictable, & simple. The most basic component is the Section class/element. It applies the Page GutterMax-Width variables. The next most basic component is the Column Wrapper, which groups columns. Viewport width columns adjust according to page gutters, and hold their size irrespective of the width of their parent element. These are ideal for crafting page structure. Percentage columns conform to the width of their parent element & are therefore ideal for repeated content. These classes can be combined across viewports to optimize the site's responsive behavior. The Column Wrapper class can be combined with a suite of margin offset classes in order to remove outer gutters from repeated content. And a suite of display, position, overflow, & sizing classes can be combined to build custom components.

This system allows pages to be built quickly, optimized across viewports, & easily maintained with only the information contained on this page.

Section

Section applies the page gutters & max-width to content. And content you'd like to stretch outside the max-width should be placed outside of the section.

Section
Section
Overflow

This class combination removes overflow: hidden;, allowing position: sticky; to be used inside a section. It also applies overflow: visible;, allowing content to escape the Section.

Column wrapper

This element groups columns.

Column Wrapper

Viewport width columns

Viewport width columns are ideal for creating layouts. Single columns can also be centered with Margin X - Auto or aligned with Margin Left - Auto or Margin Right - Auto since Column Wrapper applies display: flex;.

Column
Auto Col
Column
1 Col
Column
2 Col
Column
3 Col
Column
4 Col
Column
5 Col
Column
6 Col
Column
7 Col
Column
8 Col
Column
9 Col
Column
10 Col
Column
11 Col
Column
12 Col
Column
Auto Col Tab
Column
1 Col Tab
Column
2 Col Tab
Column
3 Col Tab
Column
4 Col Tab
Column
5 Col Tab
Column
6 Col Tab
Column
7 Col Tab
Column
8 Col Tab
Column
9 Col Tab
Column
10 Col Tab
Column
11 Col Tab
Column
12 Col Tab
Column
Auto Col Mob
Column
1 Col Mob
Column
2 Col Mob
Column
3 Col Mob
Column
4 Col Mob
Column
5 Col Mob
Column
6 Col Mob
Column
7 Col Mob
Column
8 Col Mob
Column
9 Col Mob
Column
10 Col Mob
Column
11 Col Mob
Column
12 Col Mob
» More classes available at Tablet Viewport
» More classes available at Mobile Viewport

Percentage columns

Percentage columns are ideal for repeated content.

Column
Sixth
Column
Fifth
Column
Fourth
Column
Third
Column
Half

The Half column stacks at mobile viewport by default. To overwrite this behavior, append the class Half Mob.

Column
Whole
Column
Sixth Tab
Column
Fifth Tab
Column
Fourth Tab
Column
Third Tab
Column
Half Tab
Column
Whole Tab
Column
Sixth Mob
Column
Fifth Mob
Column
Fourth Mob
Column
Third Mob
Column
Half Mob
Column
Whole Mob
» More classes available at Tablet Viewport
» More classes available at Mobile Viewport

Margin offsets

Offset subclasses should be applied to the Column Wrapper & should match the padding applied to the columns.

Column Wrapper
Offset - S
Column Wrapper
Offset - 32px
Column Wrapper
Offset - 24px
Column Wrapper
Offset - 16px
Column Wrapper
Offset - 8px
Column Wrapper
Offset - 8px

Display

Flex display classes can be combined, both across viewports & within the same viewport. But other display classes will conflict with a flex class, applying block, inline-block, or inline. To control display on a flex component, apply a class like Desktop Only to its parent element. Flex align & justify classes adjust direction based on the flex direction set, horizontal or vertical.

Tip: If you want a sentence to wrap into two equal lines, rather than word-by-word, place the second half of the sentence in anInline-Block span.

Display All
Hide All
Not viewable at this viewport
Desktop Only
Not viewable at this viewport
Desktop and Tablet Only
Not viewable at this viewport
Tablet Only
Not viewable at this viewport
Tablet and Mobile Only
Not viewable at this viewport
Mobile Only
Not viewable at this viewport
Block
Inline-Block
Inline
Block Tab
Inline-Block Tab
Inline Tab
Block Mob
Inline-Block Mob
Inline Mob
» More classes available at Tablet Viewport
» More classes available at Mobile Viewport
Flex Horizontal
1
2
Flex Horizontal Reverse
1
2
Flex Vertical
1
2
Flex Vertical Reverse
1
2
Flex Center All
Flex Align Start
Flex Align Center
Flex Align End
Flex Justify Start
Flex Justify Center
Flex Justify End
Flex Justify Between
Flex Justify Around
Flex Align Stretch
Flex Wrap
Flex No Wrap
Flex Grow
Flex Flex Shrink
Flex Horizontal Tab
1
2
Flex Horizontal Reverse Tab
1
2
Flex Vertical Tab
1
2
Flex Vertical Reverse Tab
1
2
Flex Center All Tab
Flex Align Start Tab
Flex Align Center Tab
Flex Align End Tab
Flex Align Stretch Tab
Flex Justify Start Tab
Flex Justify Center Tab
Flex Justify End Tab
Flex Justify Between Tab
Flex Justify Around Tab
Flex Wrap Tab
Flex No Wrap Tab
Flex Grow Tab
Flex Flex Tab
Flex Horizontal Mob
1
2
Flex Horizontal Reverse Mob
1
2
Flex Vertical Mob
1
2
Flex Vertical Reverse Mob
1
2
Flex Center All Mob
Flex Align Start Mob
Flex Align Center Mob
Flex Align End Mob
Flex Align Stretch Mob
Flex Justify Start Mob
Flex Justify Center Mob
Flex Justify End Mob
Flex Justify Between Mob
Flex Justify Around Mob
Flex Wrap Mob
Flex No Wrap Mob
Flex Grow Mob
Flex Flex Shrink Mob
» More classes available at Tablet Viewport
» More classes available at Mobile Viewport

Position

Position Static
Position Relative
Position Absolute - Full
Position Absolute - Top Left
Position Absolute - Top
Position Absolute - Top Right
Position Absolute - Right
Position Absolute - Bottom Right
Position Absolute - Bottom
Position Absolute - Bottom Left
Position Absolute - Left

Overflow

Overflow - Visible
Overflow - Auto
Overflow - Hidden

Size

Full Height
Full Width