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

Nested grids #1

Closed
jarlrobert opened this issue Jul 18, 2014 · 1 comment
Closed

Nested grids #1

jarlrobert opened this issue Jul 18, 2014 · 1 comment

Comments

@jarlrobert
Copy link

Hi, Is nested grids possible with this?

The following fails:

<div class="row">
    <div class="col row">
         <div class="col"></div>
         <div class="col"></div>
    </div>
</div>

Perhaps you have another way of doing it?

@chrisnager
Copy link
Owner

Hey @jarlrobert! Thanks for opening the issue.

I didn't initially have nested rows in mind when creating ungrid, but here's one way to use nested rows.

<div class="row">
    <div class="col">
        50% of outer row
        <div class="row">
            <div class="col">50% of inner</div>
            <div class="col">50% of inner</div>
        </div>
    </div>
    <div class="col">50% of outer row</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

2 participants