inuit.css icon indicating copy to clipboard operation
inuit.css copied to clipboard

Suggestion: objects, mixins and breakpoints...

Open erfanimani opened this issue 11 years ago • 0 comments

Wasn't sure how to call this issue, but I think it's a good idea to have each object also have a mixin so we can use it inside media queries. An example of the inuit.css implementation:

@mixin nav {
    list-style:none;
    margin-left:0;
    > li{

        &,
        > a{
            display:inline-block;
           *display:inline;
            zoom:1;
        }
    }
}

.nav {
    @include nav;
}

This way, inside my media queries I can make use of Inuit's objects. I prefer to use extend, but extend isn't available inside a MQ.

Is there a better way to do this?

erfanimani avatar May 26 '14 09:05 erfanimani