Ricardo Masao Shigeoka
Ricardo Masao Shigeoka

Reputation: 266

Susy "static" container style

I know I can assign a global container-style value. But what I would like to know is if I can assign a static value for a given element.

For example:

.wrapper{
    @ include span-columns (10 static);
}

Is it possible?

Upvotes: 0

Views: 176

Answers (2)

Miriam Suzanne
Miriam Suzanne

Reputation: 14010

Yes. See the Susy One docs - there is a $style argument, so you would use span-columns(10, $style: static).

With Susy 2.0, you could use the shorter span(10 static).

Upvotes: 1

David Oliver
David Oliver

Reputation: 2502

Kind of, yes. See this multiple containers demo. I think the container style should also be changeable in this way.

Upvotes: 0

Related Questions