문제

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?

도움이 되었습니까?

해결책

The column-span function will do just that.

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top