Pregunta

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?

¿Fue útil?

Solución

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top