Menu icon Foundation
Responsive column in SASS file?

Hi.

I would like to describe something like "lass="small-2 large-4 columns" but in my .sass file instead of my html document.

I've written this in my class .element :

@include grid-column(4)

Is there an easy way to add something like a minimum screen size parameter?
How could I define .element to be "small2" and "large-4" in my sass file?

The equivalent with Boostrap in a .less file would be :
.element { .col-sm-2; .col-md-4; }

Thank you :)

ResponsiveSasscolumngrid

Hi.

I would like to describe something like "lass="small-2 large-4 columns" but in my .sass file instead of my html document.

I've written this in my class .element :

@include grid-column(4)

Is there an easy way to add something like a minimum screen size parameter?
How could I define .element to be "small2" and "large-4" in my sass file?

The equivalent with Boostrap in a .less file would be :
.element { .col-sm-2; .col-md-4; }

Thank you :)

This post has been closed. No new replies can be added.