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

Grid tweaks #114

Closed
wants to merge 3 commits into from
Closed

Grid tweaks #114

wants to merge 3 commits into from

Conversation

wraithgar
Copy link
Contributor

This adds .grid-flex-cell-centered to the grid system.

It would not be terribly difficult to add 2of3, 2of4 and 3of4 which would round out the "of" classes in my opinion, but I don't know if that's useful or not. In one of my personal projects I also added an of5 subset that was helpful on wider views but I can see how that is going down a path of which it is hard to determine the end.

@@ -418,24 +417,21 @@ dl dd {
}
[class^="grid-flex-cell"],
[class*=" grid-flex-cell"] {
-webkit-flex: 0 0 100%;
-ms-flex: 0 0 100%;
flex: 0 0 100%;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why the rebuild removed these.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has only removed -webkit-flex the rest are still there in the result.

Autoprefixer stays up to date with which prefixes are required. As of today I'm guessing -webkit-flex is redundant as almost all webkits in the wild will support flex. So overtime, rebuilding exactly the same source should see fewer prefixes added.

@designsaves designsaves mentioned this pull request Apr 16, 2018
@designsaves
Copy link
Contributor

Merged into this new PR: #118

@lynnandtonic lynnandtonic deleted the grid_tweaks branch May 23, 2019 20:53
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

Successfully merging this pull request may close these issues.

3 participants