Debian Codegraph @

sass-spec/spec/libsass-closed-issues/issue_1926/input.sass

raw
1 // The amount of the column of a single row.
2 $columnAmount: 16
3
4 // The name of the each column size.
5 $columnName : one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen
6
7 =column-generator
8 @for $i from 1 through $columnAmount
9 [class*="#{nth($columnName, $i)} wide"]
10 width: 100% / $columnAmount * $i
11
12 &[class*="#{nth($columnName, $i)} column"], & .row[class*="#{nth($columnName, $i)} column"]
13 > .column:not(.row)
14 width : 100% / $columnAmount * $i !important
15
16 .grid
17 +column-generator