Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

centering columns? #79

Closed
eddiewang opened this issue Jun 16, 2016 · 3 comments
Closed

centering columns? #79

eddiewang opened this issue Jun 16, 2016 · 3 comments

Comments

@eddiewang
Copy link

Hi, is there currently a way to offset, or center columns?

@picturepan2
Copy link
Owner

There is no offset classes right now. You could try the class centered for centering a column.

@eddiewang
Copy link
Author

eddiewang commented Jun 16, 2016

i'm pretty sure the columns are floated right? centered utility class doesn't work for that. do you want to add offset classes, or is there a better solution like using flexbox options to center items?

@kevbook
Copy link

kevbook commented Jun 29, 2016

On parent - ie .columns class - all children will be centered

.columns {
  align-items: center;
  flex-direction: column;
}

or

<div class="columns">
      <div class="column col-9 centered"> </div>
</div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants