Back to the pattern library

Centered

Columns can be set to centred or uncentered at different viewport sizes.

More detailed information on how to use our grid can be found in our design guidance.

Example

Example

HTML

<div class="coop-l-row">
    <div class="coop-l-column coop-l-all-6 coop-l-all-centered coop-l-medium-uncentered coop-l-large-centered">
        <span class="demo-column-block--centered"></span>
    </div>
</div>

SCSS

The styles for this pattern can be found in the foundations on github.

JS

There is no javascript needed for this component.

Design and content

There is no design information for this pattern.

Accessibility

We are currently working on this.

For more information see our general guide on accessibility.

Suggest a pattern

Use this form to suggest a new pattern or a change to an existing one.

Suggest a new pattern or a change