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

📄 Easy grid systems? #329

Open
aolko opened this issue Feb 12, 2024 · 1 comment
Open

📄 Easy grid systems? #329

aolko opened this issue Feb 12, 2024 · 1 comment
Labels
docs Improvements or additions to documentation
Milestone

Comments

@aolko
Copy link

aolko commented Feb 12, 2024

Description

Will we have a predefined grid systems based on variable number of --columns (both flex and grid), like these ones:

@aolko aolko added the feature New feature label Feb 12, 2024
@1aron
Copy link
Member

1aron commented Feb 28, 2024

Master CSS's grid system is arbitrary and more flexible than the traditional 12-column, 16-column, or 24-column.

<!-- grid -->
<div class="grid-cols:5 grid-cols:6@sm grid-cols:8@md grid-cols:16@lg gap:5x gap:6x@sm">...</div>

<!-- flex -->
<div class="flex gap:5x">
    <div class="w:1/4 w:1/6@sm">...</div>
    <div class="w:1/4 w:2/6@sm">...</div>
    <div class="w:2/4 w:3/6@sm">...</div>
</div>

The documentation of the grid system has indeed been missing since v1. We will add a new page docs/grid-system during the 2.0 RC.

https://css.master.co/docs/grid-columns

@1aron 1aron added docs Improvements or additions to documentation and removed feature New feature labels Feb 28, 2024
@1aron 1aron added this to the 2.0 milestone Feb 28, 2024
@1aron 1aron changed the title ✨ Easy grid systems? 📄 Easy grid systems? Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants