附值:
1,color:$blue1.1,border-#{$side}-radius2, .class2 { @extend .class1; font-size:120%; }3,div { @include left(20px); }@mixin rounded($vert, $horz, $radius: 10px) {
border-#{$vert}-#{$horz}-radius: $radius; -moz-border-radius-#{$vert}#{$horz}: $radius; -webkit-border-#{$vert}-#{$horz}-radius: $radius; } #navbar li { @include rounded(top, left); }#footer { @include rounded(top, left, 5px); }@function double($n) {
@return $n * 2; } #sidebar { width: double(5px); }