csswizardry-grids icon indicating copy to clipboard operation
csswizardry-grids copied to clipboard

Using mixin grid-media-query for multiple breakpoints v2.0

Open ToddJohn93 opened this issue 11 years ago • 1 comments
trafficstars

I have tried issue #70 answer however get error saying I can't pass 2 parameters(as the mixin only takes one parameter) Is there another way to do this?

Thanks.

ToddJohn93 avatar Jun 02 '14 05:06 ToddJohn93

That was an error on my part. After modifying the media-query loop to include an each statement, you'll need to use double braces to include multiple media-queries:

@include grid-media-query((palm, lap)){
    //  Your code here...
}

Cleecanth avatar Aug 07 '14 20:08 Cleecanth