0
기존 배경 문자열을 모르는 상태에서 SASS/Compass에 배경을 추가하여 추가하고 싶습니다. 나는 글로벌 var에 쓰는 것으로 성취 할 수있다. 그러나 그것은 지저분 해 보인다.SASS : 기존 배경 문자열의 값을 가져 와서 추가 하시겠습니까?
의사 : 내가 뭔가를 분명 실종
=mixin-add-icon
// add a background icon
=mixin-add-gradient-from-color($color: blue !default)
// add a background gradient
=mixin-add-texture-bg
// add a bg texture
a
background: blue
+mixin-add-texture-bg
// this should take the existing bg and add texture to it
&.selected
+mixin-add-gradient-from-color()
+mixin-add-icon
// these two should take the existing bgs strings from <a> and add to them
건가요? 미리 감사드립니다.