File "looping.scss"
Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/vendor/leafo/scssphp/tests/inputs/looping.scss
File
size: 584 B (584 B bytes)
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
div {
@each $var in what is this {
color: $var;
}
@each $var in what, is, this {
font: $var;
}
$list: what is this;
@each $var in $list {
background: $var;
}
$list: what, is, this;
@each $var in $list {
border: $var;
}
}
span {
$i: 0;
@while $i <= 10 {
color: $i;
$i: $i + 1;
}
}
pre {
@for $x from 1 to 5 {
color: $x;
}
@for $x from 1 through 5 {
height: $x;
}
$y: 10;
@for $x from $y through 3 {
cool: $x;
}
}
$j: null;
@while $j {
.item { width: 2em; }
$j: false;
}