Domanda

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?

È stato utile?

Soluzione

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).

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top