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

Semantic classes #5

Open
mmjaeger opened this issue Oct 9, 2015 · 2 comments
Open

Semantic classes #5

mmjaeger opened this issue Oct 9, 2015 · 2 comments

Comments

@mmjaeger
Copy link

mmjaeger commented Oct 9, 2015

Hello
Nice framework - what I was wondering though is whether you're planning to add some mixins so it could be used in a more semantic way to use existing classes.

@jamiewilson
Copy link
Owner

Hey @mmjaeger Thanks for reaching out! Could you give me an example of what you mean?

@mmjaeger
Copy link
Author

You might want to look into Bootstrap 4 - they introduces some nice mixins when it comes to grids - so for instance, if I have some given classes like .container and then e.g. .main and .sidebar you would do something like this:

.container {
@include row;
}

.main {
@include grid-columns(8);
}

.sidebar {
@include grid-columns(4);
}

Hope that make it clear.

Repository owner deleted a comment from jccalbuquerque Feb 14, 2024
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