SASS :
$Header: 10px,auto,10px,auto,100%,50px;
$Footer: auto,0px,0px,auto,100%,20px;
@function getVar($variable,$name:top){
$var_index:1;
@if $name==bottom {
$var_index:2;
} @else if $name==left {
$var_index:3;
}
return nth($variable,$var_index);
}
- :
getVar($Header,left)
left Header, getVar($Footer,top) "Footer Group" ( ).
, , , #{''}, "Empty String with no quotes", , CSS.
Asfhy source
share