Question

What I want to achieve is getting the width value (in percentage) of a specific amount of columns (based on the current context).

Is there a grid helper to do this (maybe find-grid function)? Could you provide an example on how to use it?

Était-ce utile?

La solution

The column-span function will do just that.

scss .foo { // 3 column span, from the 1st column width: column-span(3, 1);

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top