corpus icon indicating copy to clipboard operation
corpus copied to clipboard

Semantic classes

Open mmjaeger opened this issue 10 years ago • 2 comments

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.

mmjaeger avatar Oct 09 '15 14:10 mmjaeger

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

jamiewilson avatar Oct 12 '15 22:10 jamiewilson

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.

mmjaeger avatar Oct 13 '15 16:10 mmjaeger