codyhouse / codyhouse-framework

A lightweight front-end framework for building accessible, bespoke interfaces.
https://codyhouse.co/
MIT License
1.16k stars 173 forks source link

How to push/pull columns? #37

Closed DESIGNfromWITHIN closed 5 years ago

DESIGNfromWITHIN commented 5 years ago

Can I push or pull columns like in other frameworks? Lets say I want to push a 6 col from 3 columns from the left.

In Bootstrap I would use col-md-offset-3

<div class="container max-width-adaptive-lg">
  <div class="grid grid-gap-lg">
    <div class="col-6@md">
      <p>Row 1 column</p>
    </div>
  </div>
</div>
sebastiano-guerriero commented 5 years ago

We don't have offset utility classes, but you can achieve similar results with the help of margin and flexbox utility classes (the .grid class includes display: flex). Do you have a grid example I can look at? (even a screenshot would work)

DESIGNfromWITHIN commented 5 years ago

Thank a lot, but its ok was just wondering. Margin will work fine also.

I am making a MODX CMS + FRED (front end editing for MODX) version of the CodyHouse Framework. Will share soon I hope.

cody

sebastiano-guerriero commented 5 years ago

That looks promising! However, please be aware the components are not shared with the same license of the framework and can't be distributed on websites other than codyhouse.co

More info here: https://codyhouse.co/license

DESIGNfromWITHIN commented 5 years ago

Ah damn! I assumed that the basic (none pro) components were ok to use...

Guess Cody is not a option then. Sad to say. Bootstrap 4 it is then I guess.

Op do 29 aug. 2019 18:15 schreef Sebastiano Guerriero < notifications@github.com>:

That looks promising! However, please be aware the components are not shared with the same license of the framework and can't be distributed on websites other than codyhouse.co

More info here: https://codyhouse.co/license

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CodyHouse/codyhouse-framework/issues/37?email_source=notifications&email_token=AAFRGW3TIGA5OTZUABOZHTLQG7Y2PA5CNFSM4ISCBG4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5PA7OI#issuecomment-526258105, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFRGW2COMC5HQNVI27F253QG7Y2PANCNFSM4ISCBG4A .

sebastiano-guerriero commented 5 years ago

OK! Best of luck :)