@include mixin();
को चर के लिए सेट करने का कोई तरीका है? मैंने कोशिश की इसवैस में @ mixin को चर सेट करना?
@mixin bg-gradient($fallback, $type, $positionX, $positionY, $from, $from-percent, $to, $to-percent){
background: $fallback;
background: -webkit-#{$type}-gradient($positionX $positionY, $from $from-percent, $to $to-percent);
background: -moz-#{$type}-gradient($positionX $positionY, $from $from-percent, $to $to-percent);
background: #{$type}-gradient($positionX $positionY, $from $from-percent, $to $to-percent);
}
$navBg: @include bg-gradient(#eee, radial, top, center, #999, 0%, #555, 100%);
body { $navBg; } // it gave me an error
समाधान के लिए Thnx और अतिरिक्त जानकारी के लिए! मैं वास्तव में – FoxKllD